![]() |
crun-cli v1.4.0
C-based project scaffolding CLI
|
crun_json_manager source file More...
#include "../inc/crun_json_manager.h"#include "../inc/crun_audit.h"#include <cjson/cJSON.h>#include <string.h>
Functions | |
| cJSON * | get_json_root (const char *json_bufferer) |
| Parse JSON buffer into cJSON root object. | |
| cJSON * | get_json_object (cJSON *root, const char *obj_name) |
| Retrieve required JSON object child by name. | |
crun_json_manager source file
| 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. |

