projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add JSON_DISABLE_EOF_CHECK decoding flag
[jansson.git]
/
src
/
jansson.h
diff --git
a/src/jansson.h
b/src/jansson.h
index
9bdbb11
..
79f7ed5
100644
(file)
--- a/
src/jansson.h
+++ b/
src/jansson.h
@@
-217,6
+217,7
@@
json_t *json_deep_copy(json_t *value);
/* decoding */
#define JSON_REJECT_DUPLICATES 0x1
+#define JSON_DISABLE_EOF_CHECK 0x2
json_t *json_loads(const char *input, size_t flags, json_error_t *error);
json_t *json_loadb(const char *buffer, size_t buflen, size_t flags, json_error_t *error);