Lines Matching defs:JsonObj
31 } JsonObj;
33 JsonObj *JSON_CreateObject(void);
35 void JSON_Delete(JsonObj *obj);
40 char *JSON_PrintUnformatted(const JsonObj *obj);
42 JsonObj *JSON_Parse(const char *str, uint32_t len);
44 bool JSON_AddBoolToObject(JsonObj *obj, const char *key, bool value);
46 bool JSON_GetBoolFromOject(const JsonObj *obj, const char *key, bool *value);
48 bool JSON_AddInt16ToObject(JsonObj *obj, const char *key, int16_t value);
50 bool JSON_GetInt16FromOject(const JsonObj *obj, const char *key, int16_t *value);
52 bool JSON_AddInt32ToObject(JsonObj *obj, const char *key, int32_t value);
54 bool JSON_GetInt32FromOject(const JsonObj *obj, const char *key, int32_t *value);
56 bool JSON_AddInt64ToObject(JsonObj *obj, const char *key, int64_t value);
58 bool JSON_GetInt64FromOject(const JsonObj *obj, const char *key, int64_t *value);
60 bool JSON_AddStringToObject(JsonObj *obj, const char *key, const char *value);
62 bool JSON_GetStringFromOject(const JsonObj *obj, const char *key, char *value, uint32_t size);
64 bool JSON_AddStringArrayToObject(JsonObj *obj, const char *key, const char **value, int32_t len);
67 bool JSON_GetStringArrayFromOject(const JsonObj *obj, const char *key, char **value, int32_t *len);
69 bool JSON_AddBytesToObject(JsonObj *obj, const char *key, uint8_t *value, uint32_t size);
71 bool JSON_GetBytesFromObject(const JsonObj *obj, const char *key, uint8_t *value, uint32_t bufLen, uint32_t *size);
73 bool JSON_IsArrayExist(const JsonObj *obj, const char *key);