#include <JSON.h>
Public Member Functions | |
| std::string | encode (Property *prEncode=NULL) |
| JSON () | |
| void | parse (std::string strJSON, std::string strMimeType="") |
| void | parse (json_object *jobj, Property *prParent) |
| void | parseArray (json_object *jobj, char *key, Property *prParent) |
| Property * | parseXML (std::string strXML) |
| Property * | parseXML (std::string strXML, int &nOffset) |
| Property * | rootProperty () |
| ~JSON () | |
Private Attributes | |
| Property * | m_prRootProperty |
| std::string beliefstate::JSON::encode | ( | Property * | prEncode = NULL | ) |
| void beliefstate::JSON::parse | ( | std::string | strJSON, |
| std::string | strMimeType = "" |
||
| ) |
| void beliefstate::JSON::parse | ( | json_object * | jobj, |
| Property * | prParent | ||
| ) |
| void beliefstate::JSON::parseArray | ( | json_object * | jobj, |
| char * | key, | ||
| Property * | prParent | ||
| ) |
| Property * beliefstate::JSON::parseXML | ( | std::string | strXML | ) |
| Property * beliefstate::JSON::parseXML | ( | std::string | strXML, |
| int & | nOffset | ||
| ) |
Property* beliefstate::JSON::m_prRootProperty [private] |