12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef cJSON_Utils__h
- #define cJSON_Utils__h
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- #include "cJSON.h"
-
- extern cJSON *cJSONUtils_GetPointer(cJSON *object, const char *pointer);
-
- extern cJSON* cJSONUtils_GeneratePatches(cJSON *from, cJSON *to);
-
- extern void cJSONUtils_AddPatchToArray(cJSON *array, const char *op, const char *path, cJSON *val);
-
- extern int cJSONUtils_ApplyPatches(cJSON *object, cJSON *patches);
-
-
-
- extern cJSON* cJSONUtils_MergePatch(cJSON *target, cJSON *patch);
-
- extern cJSON *cJSONUtils_GenerateMergePatch(cJSON *from, cJSON *to);
-
- extern char *cJSONUtils_FindPointerFromObjectTo(cJSON *object, cJSON *target);
-
- extern void cJSONUtils_SortObject(cJSON *object);
- #ifdef __cplusplus
- }
- #endif
- #endif
|