mirror of
https://github.com/DaveGamble/cJSON
synced 2025-01-27 09:43:42 +00:00
reformatting: cJSONUtils_SortObject
This commit is contained in:
parent
8964287ec4
commit
c65514fcb4
@ -718,8 +718,10 @@ static cJSON *cJSONUtils_SortList(cJSON *list)
|
|||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cJSONUtils_SortObject(cJSON *object)
|
||||||
void cJSONUtils_SortObject(cJSON *object) {object->child=cJSONUtils_SortList(object->child);}
|
{
|
||||||
|
object->child = cJSONUtils_SortList(object->child);
|
||||||
|
}
|
||||||
|
|
||||||
cJSON* cJSONUtils_MergePatch(cJSON *target, cJSON *patch)
|
cJSON* cJSONUtils_MergePatch(cJSON *target, cJSON *patch)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user