saveJSONArray()
Output / FilesDescription
Saves a JSONValue array to a file.
Syntax
bool saveJSONArray(std::string path, const JSONValue& v, int indent)
Parameters
| Name | Type | Description |
|---|---|---|
| path | std::string | path to write to |
| v | JSONValue | the JSON array value |
| indent | int | indentation spaces (default 2) |
Returns
boolRelated
Under the Hood
From Processing.h:
static bool saveJSONArray(const std::string& path, const JSONValue& v, int indent=2);
Under the Hood
From Processing.cpp:
bool PApplet::saveJSONArray(const std::string& path,const JSONValue& v,int indent){
return saveJSONObject(path,v,indent);
}