![]() |
crun-cli v1.4.0
C-based project scaffolding CLI
|
JSON parsing helpers for stacks metadata. More...
#include <cjson/cJSON.h>#include <stdio.h>

Go to the source code of this file.
Functions | |
| cJSON * | get_json_root (const char *json_buffer) |
| Parse JSON buffer into cJSON root object. | |
| cJSON * | get_json_object (cJSON *root, const char *obj_name) |
| Retrieve required JSON object child by name. | |
JSON parsing helpers for stacks metadata.
| cJSON * get_json_object | ( | cJSON * | root, |
| const char * | obj_name ) |
Retrieve required JSON object child by name.
| root | Parent JSON root. |
| obj_name | Object key name. |


| cJSON * get_json_root | ( | const char * | json_buffer | ) |
Parse JSON buffer into cJSON root object.
| json_buffer | JSON text buffer. |

