modbusd
modbus master daemon
|
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "cJSON_Utils.h"
Functions | |
char * | cJSONUtils_FindPointerFromObjectTo (cJSON *object, cJSON *target) |
cJSON * | cJSONUtils_GetPointer (cJSON *object, const char *pointer) |
int | cJSONUtils_ApplyPatches (cJSON *object, cJSON *patches) |
void | cJSONUtils_AddPatchToArray (cJSON *array, const char *op, const char *path, cJSON *val) |
cJSON * | cJSONUtils_GeneratePatches (cJSON *from, cJSON *to) |
void | cJSONUtils_SortObject (cJSON *object) |
cJSON * | cJSONUtils_MergePatch (cJSON *target, cJSON *patch) |
cJSON * | cJSONUtils_GenerateMergePatch (cJSON *from, cJSON *to) |
References cJSON::child, cJSON_Array, cJSON::next, and cJSON::type.
References cJSON::child, cJSON_Array, cJSON_Object, cJSONUtils_FindPointerFromObjectTo(), cJSON::next, and cJSON::string.
Referenced by cJSONUtils_FindPointerFromObjectTo().
References cJSON::child, cJSON_AddItemToObject(), cJSON_CreateNull(), cJSON_CreateObject(), cJSON_Delete(), cJSON_Duplicate(), cJSON_Object, cJSONUtils_GenerateMergePatch(), cJSONUtils_SortObject(), cJSON::next, cJSON::string, and cJSON::type.
Referenced by cJSONUtils_GenerateMergePatch().
References cJSON_Array, cJSON_GetArrayItem(), cJSON_Object, cJSON::string, and cJSON::type.
References cJSON::child, cJSON_AddItemToObject(), cJSON_CreateObject(), cJSON_Delete(), cJSON_DeleteItemFromObject(), cJSON_DetachItemFromObject(), cJSON_Duplicate(), cJSON_NULL, cJSON_Object, cJSONUtils_MergePatch(), cJSON::next, cJSON::string, and cJSON::type.
Referenced by cJSONUtils_MergePatch().
void cJSONUtils_SortObject | ( | cJSON * | object | ) |
References cJSON::child.
Referenced by cJSONUtils_GenerateMergePatch().