ESPectro32 Library
Library for using ESPectro32 board
 All Classes Functions Variables Enumerations Enumerator Pages
Static Public Member Functions | List of all members
JSON Class Reference

Top level JSON handler. More...

#include <JSON.h>

Static Public Member Functions

static JsonObject createObject ()
 Create an empty JSON object. More...
 
static JsonArray createArray ()
 Create an empty JSON array. More...
 
static void deleteObject (JsonObject jsonObject)
 Delete a JSON object. More...
 
static void deleteArray (JsonArray jsonArray)
 Delete a JSON array. More...
 
static JsonObject parseObject (std::string text)
 Parse a string that contains a JSON object. More...
 
static JsonArray parseArray (std::string text)
 Parse a string that contains a JSON array. More...
 

Detailed Description

Top level JSON handler.

Member Function Documentation

JsonArray JSON::createArray ( )
static

Create an empty JSON array.

Returns
An empty JSON array.
JsonObject JSON::createObject ( )
static

Create an empty JSON object.

Returns
An empty JSON object.
void JSON::deleteArray ( JsonArray  jsonArray)
static

Delete a JSON array.

Parameters
[in]jsonArrayThe array to be deleted.
Returns
N/A.
void JSON::deleteObject ( JsonObject  jsonObject)
static

Delete a JSON object.

Parameters
[in]jsonObjectThe object to be deleted.
JsonArray JSON::parseArray ( std::string  text)
static

Parse a string that contains a JSON array.

Parameters
[in]textThe JSON text string.
Returns
A JSON array.
JsonObject JSON::parseObject ( std::string  text)
static

Parse a string that contains a JSON object.

Parameters
[in]textThe JSON text string.
Returns
a JSON object.

The documentation for this class was generated from the following files: