mirror of https://github.com/DaveGamble/cJSON
reformatting: cJSONUtils_SortObject
This commit is contained in:
parent
8964287ec4
commit
c65514fcb4
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue