| 2592 | } |
| 2593 | |
| 2594 | CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void) |
| 2595 | { |
| 2596 | cJSON *item = cJSON_New_Item(&global_hooks); |
| 2597 | if (item) |
| 2598 | { |
| 2599 | item->type = cJSON_Object; |
| 2600 | } |
| 2601 | |
| 2602 | return item; |
| 2603 | } |
| 2604 | |
| 2605 | /* Create Arrays: */ |
| 2606 | CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count) |
searching dependent graphs…