GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
Common JSON reader/writer definitions. More...
Go to the source code of this file.
Enumerations | |
enum | gp_json_type { GP_JSON_VOID = 0 , GP_JSON_INT , GP_JSON_FLOAT , GP_JSON_BOOL , GP_JSON_NULL , GP_JSON_STR , GP_JSON_OBJ , GP_JSON_ARR } |
A JSON data type. More... | |
Functions | |
const char * | gp_json_type_name (enum gp_json_type type) |
Returns type name. | |
void | gp_json_err_handler (void *print_priv, const char *line) |
Default error print handler. | |
Common JSON reader/writer definitions.
Definition in file gp_json_common.h.
enum gp_json_type |
A JSON data type.
Definition at line 27 of file gp_json_common.h.
void gp_json_err_handler | ( | void * | print_priv, |
const char * | line | ||
) |
Default error print handler.
print_priv | A json buffer print_priv pointer. |
line | A line to be printed. |
const char * gp_json_type_name | ( | enum gp_json_type | type | ) |
Returns type name.
type | A json type. |