diff --git a/cJSON_Utils.c b/cJSON_Utils.c index b59510f..903e2da 100644 --- a/cJSON_Utils.c +++ b/cJSON_Utils.c @@ -718,8 +718,10 @@ static cJSON *cJSONUtils_SortList(cJSON *list) return list; } - -void cJSONUtils_SortObject(cJSON *object) {object->child=cJSONUtils_SortList(object->child);} +void cJSONUtils_SortObject(cJSON *object) +{ + object->child = cJSONUtils_SortList(object->child); +} cJSON* cJSONUtils_MergePatch(cJSON *target, cJSON *patch) {