cctools
json_aux.h
1 #ifndef JSON_AUX_H
2 #define JSON_AUX_H
3 
4 #include "buffer.h"
5 #include "json.h"
6 
7 #define jistype(o,t) ((o)->type == (t))
8 
9 json_value *jsonA_getname (json_value *object, const char *name, json_type t);
10 json_value *jsonA_getname_raw (json_value *object, const char *name);
11 int jsonA_escapestring(buffer_t *B, const char *str);
12 json_value *jsonA_parse_file(const char *path);
13 
14 extern const char json_type_str[][10];
15 
16 #endif
Definition: json.h:90
String Buffer Operations.
Definition: buffer.h:26