diff options
Diffstat (limited to 'src/jansson.h')
-rw-r--r-- | src/jansson.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jansson.h b/src/jansson.h index c8a5a90..d59fe10 100644 --- a/src/jansson.h +++ b/src/jansson.h @@ -141,8 +141,9 @@ json_t *json_loads(const char *input, json_error_t *error); json_t *json_loadf(FILE *input, json_error_t *error); json_t *json_load_file(const char *path, json_error_t *error); -#define JSON_INDENT(n) (n & 0xFF) -#define JSON_COMPACT 0x100 +#define JSON_INDENT(n) (n & 0xFF) +#define JSON_COMPACT 0x100 +#define JSON_ENSURE_ASCII 0x200 char *json_dumps(const json_t *json, unsigned long flags); int json_dumpf(const json_t *json, FILE *output, unsigned long flags); |