MCPcopy Index your code
hub / github.com/DaveGamble/cJSON / sort_object

Function sort_object

cJSON_Utils.c:595–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595static void sort_object(cJSON * const object, const cJSON_bool case_sensitive)
596{
597 if (object == NULL)
598 {
599 return;
600 }
601 object->child = sort_list(object->child, case_sensitive);
602}
603
604static cJSON_bool compare_json(cJSON *a, cJSON *b, const cJSON_bool case_sensitive)
605{

Callers 5

compare_jsonFunction · 0.85
create_patchesFunction · 0.85
cJSONUtils_SortObjectFunction · 0.85
generate_merge_patchFunction · 0.85

Calls 1

sort_listFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…