#include <stdlib.h>#include <stdbool.h>Go to the source code of this file.
Typedefs | |
| typedef struct json_out | json_out_t |
Functions | |
| json_out_t * | json_start (vfs_file_t *file, uint32_t max_levels) |
| bool | json_end (json_out_t *json) |
| bool | json_start_object (json_out_t *json) |
| bool | json_start_tagged_object (json_out_t *json, const char *tag) |
| bool | json_end_object (json_out_t *json) |
| bool | json_start_array (json_out_t *json, const char *tag) |
| bool | json_end_array (json_out_t *json) |
| bool | json_add_string (json_out_t *json, const char *tag, const char *s) |
| bool | json_add_int (json_out_t *json, const char *tag, int32_t value) |
| typedef struct json_out json_out_t |
| bool json_add_int | ( | json_out_t * | json, |
| const char * | tag, | ||
| int32_t | value | ||
| ) |
| bool json_add_string | ( | json_out_t * | json, |
| const char * | tag, | ||
| const char * | s | ||
| ) |
| bool json_end | ( | json_out_t * | json | ) |
| bool json_end_array | ( | json_out_t * | json | ) |
| bool json_end_object | ( | json_out_t * | json | ) |
| json_out_t* json_start | ( | vfs_file_t * | file, |
| uint32_t | max_levels | ||
| ) |
| bool json_start_array | ( | json_out_t * | json, |
| const char * | tag | ||
| ) |
| bool json_start_object | ( | json_out_t * | json | ) |
| bool json_start_tagged_object | ( | json_out_t * | json, |
| const char * | tag | ||
| ) |