Lines Matching refs:jsonObj
38 CJson *DuplicateJson(const CJson *jsonObj);
39 void FreeJson(CJson *jsonObj);
41 void DeleteItemFromJson(CJson *jsonObj, const char *key);
42 void DeleteAllItemExceptOne(CJson *jsonObj, const char *key);
43 void DeleteAllItem(CJson *jsonObj);
44 CJson *DetachItemFromJson(CJson *jsonObj, const char *key);
47 char *PackJsonToString(const CJson *jsonObj);
50 int GetItemNum(const CJson *jsonObj);
53 * It refers to the parent object(param--jsonObj)'s memory.
54 * It will be recycled along with jsonObj when jsonObj is released.
60 * It refers to the parent object(param--jsonObj)'s memory.
61 * It will be recycled along with jsonObj when jsonObj is released.
63 CJson *GetObjFromJson(const CJson *jsonObj, const char *key);
67 * It refers to the parent object(param--jsonObj)'s memory.
68 * It will be recycled along with jsonObj when jsonObj is released.
74 * It refers to the parent object(param--jsonObj)'s memory.
75 * It will be recycled along with jsonObj when jsonObj is released.
77 const char *GetStringFromJson(const CJson *jsonObj, const char *key);
80 * The byte in jsonObj must be in the form of hex string.
83 int32_t GetByteFromJson(const CJson *jsonObj, const char *key, uint8_t *byte, uint32_t len);
84 int32_t GetByteLenFromJson(const CJson *jsonObj, const char *key, uint32_t *byteLen);
85 int32_t GetIntFromJson(const CJson *jsonObj, const char *key, int32_t *value);
86 int32_t GetInt64FromJson(const CJson *jsonObj, const char *key, int64_t *value);
87 int32_t GetBoolFromJson(const CJson *jsonObj, const char *key, bool *value);
90 int32_t AddObjToJson(CJson *jsonObj, const char *key, const CJson *childObj);
92 int32_t AddStringToJson(CJson *jsonObj, const char *key, const char *value);
95 int32_t AddByteToJson(CJson *jsonObj, const char *key, const uint8_t *byte, uint32_t len);
96 int32_t AddBoolToJson(CJson *jsonObj, const char *key, bool value);
97 int32_t AddIntToJson(CJson *jsonObj, const char *key, int value);
98 int32_t AddInt64StringToJson(CJson *jsonObj, const char *key, int64_t value);
99 int32_t AddStringArrayToJson(CJson *jsonObj, const char *key, const char * const *stringArray, uint32_t arrayLen);
100 void ClearSensitiveStringInJson(CJson *jsonObj, const char *key);
102 int32_t GetUnsignedIntFromJson(const CJson *jsonObj, const char *key, uint32_t *value);