loadJSONArray()

Input / Files

Description

Loads a JSON array file and returns a JSONValue.

Syntax

JSONValue loadJSONArray(std::string path)

Parameters

NameTypeDescription
pathstd::stringpath to the JSON file

Returns

JSONValue

Related

Under the Hood

From Processing.h:

static JSONValue loadJSONArray(const std::string& path);

Under the Hood

From Processing.cpp:

JSONValue PApplet::loadJSONArray(const std::string& path) { return parseJSON(readFileString(path)); }