Classes | |
struct | JsonValue |
Defines | |
#define | JSON_STRING 0 |
#define | JSON_NUM 1 |
#define | JSON_NULL 2 |
#define | JSON_BOOL 3 |
#define | JSON_ARRAY 4 |
#define | JSON_OBJECT 7 |
Functions | |
void | DeleteJSONValue (void *vJsonValue) |
JsonValue * | NewJsonObject (const char *Key, long keylen) |
JsonValue * | NewJsonArray (const char *Key, long keylen) |
JsonValue * | NewJsonNumber (const char *Key, long keylen, long Number) |
JsonValue * | NewJsonBigNumber (const char *Key, long keylen, double Number) |
JsonValue * | NewJsonString (const char *Key, long keylen, StrBuf *CopyMe) |
JsonValue * | NewJsonPlainString (const char *Key, long keylen, const char *CopyMe, long len) |
JsonValue * | NewJsonNull (const char *Key, long keylen) |
JsonValue * | NewJsonBool (const char *Key, long keylen, int value) |
void | JsonArrayAppend (JsonValue *Array, JsonValue *Val) |
void | JsonObjectAppend (JsonValue *Array, JsonValue *Val) |
void | SerializeJson (StrBuf *Target, JsonValue *Val, int FreeVal) |
Variables | |
StrBuf * | JsonValue::Name |
StrBuf * | JsonValue::Value |
HashList * | JsonValue::SubValues |