|
| MJsonNode::~MJsonNode () |
|
static MJsonNode * | MJsonNode::Parse (const char *jsonstring) |
|
std::string | MJsonNode::Stringify (int flags=0) const |
|
static std::string | MJsonNode::Encode (const char *s) |
|
static std::string | MJsonNode::EncodeLL (long long v) |
|
static std::string | MJsonNode::EncodeDouble (double v) |
|
static MJsonNode * | MJsonNode::MakeArray () |
|
static MJsonNode * | MJsonNode::MakeObject () |
|
static MJsonNode * | MJsonNode::MakeString (const char *value) |
|
static MJsonNode * | MJsonNode::MakeInt (long long value) |
|
static MJsonNode * | MJsonNode::MakeNumber (double value) |
|
static MJsonNode * | MJsonNode::MakeBool (bool value) |
|
static MJsonNode * | MJsonNode::MakeNull () |
|
static MJsonNode * | MJsonNode::MakeJSON (const char *json) |
|
static MJsonNode * | MJsonNode::MakeArrayBuffer (char *ptr, size_t size) |
|
static MJsonNode * | MJsonNode::MakeError (MJsonNode *errornode, const char *errormessage, const char *sin, const char *serror) |
| the node takes ownership of the buffer More...
|
|
void | MJsonNode::AddToArray (MJsonNode *node) |
|
void | MJsonNode::AddToObject (const char *name, MJsonNode *node) |
| add node to an array. the array takes ownership of this node More...
|
|
void | MJsonNode::DeleteObjectNode (const char *name) |
| add node to an object. the object takes ownership of this node More...
|
|
int | MJsonNode::GetType () const |
| delete a node from an object More...
|
|
const MJsonNodeVector * | MJsonNode::GetArray () const |
| get node type: MJSON_xxx More...
|
|
const MJsonStringVector * | MJsonNode::GetObjectNames () const |
| get array value, NULL if not array, empty array if value is JSON "null" More...
|
|
const MJsonNodeVector * | MJsonNode::GetObjectNodes () const |
| get array of object names, NULL if not object, empty array if value is JSON "null" More...
|
|
const MJsonNode * | MJsonNode::FindObjectNode (const char *name) const |
| get array of object subnodes, NULL if not object, empty array if value is JSON "null" More...
|
|
std::string | MJsonNode::GetString () const |
| find subnode with given name, NULL if not object, NULL is name not found More...
|
|
long long | MJsonNode::GetInt () const |
| get string value, "" if not string or value is JSON "null" More...
|
|
long long | MJsonNode::GetLL () const |
| get integer value, 0 if not an integer or value is JSON "null" More...
|
|
double | MJsonNode::GetDouble () const |
| get 64-bit long long value, 0 if not an integer or value is JSON "null" More...
|
|
bool | MJsonNode::GetBool () const |
| get number or integer value, 0 if not a number or value is JSON "null" More...
|
|
void | MJsonNode::GetArrayBuffer (const char **pptr, size_t *psize) const |
| get boolean value, false if not a boolean or value is JSON "null" More...
|
|
std::string | MJsonNode::GetError () const |
|
static const char * | MJsonNode::TypeToString (int type) |
| get error message from MJSON_ERROR nodes More...
|
|
void | MJsonNode::Dump (int nest=0) const |
| return node type as string More...
|
|
MJsonNode * | MJsonNode::Copy () const |
| dump the subtree to standard output More...
|
|
| MJsonNode::MJsonNode (int type) |
| make a copy of the json tree More...
|
|
MJsonNode & | MJsonNode::operator= (const MJsonNode &) |
|