Top level JSON handler.
More...
#include <JSON.h>
Create an empty JSON array.
- Returns
- An empty JSON array.
Create an empty JSON object.
- Returns
- An empty JSON object.
void JSON::deleteArray |
( |
JsonArray |
jsonArray | ) |
|
|
static |
Delete a JSON array.
- Parameters
-
[in] | jsonArray | The array to be deleted. |
- Returns
- N/A.
Delete a JSON object.
- Parameters
-
[in] | jsonObject | The object to be deleted. |
JsonArray JSON::parseArray |
( |
std::string |
text | ) |
|
|
static |
Parse a string that contains a JSON array.
- Parameters
-
[in] | text | The JSON text string. |
- Returns
- A JSON array.
Parse a string that contains a JSON object.
- Parameters
-
[in] | text | The JSON text string. |
- Returns
- a JSON object.
The documentation for this class was generated from the following files:
- lib/Commons/JSON.h
- lib/Commons/JSON.cpp