codex
|
Classes | |
struct | stack_item |
struct | stack |
Enumerations | |
enum | stage { ROOT , SEQ , MAP_KEY , MAP_VALUE } |
Functions | |
static void | stack_init (struct stack *s, FILE *out) |
static void | stack_destroy (struct stack *s, bool ok) |
static void | stack_push (struct stack *s, enum stage stage, cJSON *obj) |
static void | stack_pop (struct stack *s) |
static void | stack_set_key (struct stack_item *p, const struct scalar_string *s) |
static cJSON * | scalar_to_json (const struct scalar *s) |
static void | dump_json (cJSON *j, FILE *out) |
static void | document_end (struct stack *s) |
static bool | sequence_start (struct stack *s) |
static bool | mapping_start (struct stack *s) |
static void | obj_end (struct stack *s) |
static bool | scalar (struct stack *s, yaml_event_t *event) |
static int | process_event (struct stack *s, yaml_event_t *event) |
static void | print_problem (const yaml_parser_t *p) |
int | process_json (struct parser *parser, FILE *out) |
enum stage |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int process_json | ( | struct parser * | parser, |
FILE * | out ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |