7a0b9af662
On unpack, one may want to mix `JSON_STRICT` and optional keys by using a format like `{s:i,s?o!}`. Unfortunately, this fails the stric test with `-1 object item(s) left unpacked` error when the second key is not specified. To fix that, we iter on each key and we check if we have successfully unpacked them. This is less efficient than the previous method but it brings correctness. |
||
---|---|---|
.. | ||
dump.c | ||
error.c | ||
hashtable_seed.c | ||
hashtable.c | ||
hashtable.h | ||
jansson_config.h.in | ||
jansson_private.h | ||
jansson.def | ||
jansson.h | ||
load.c | ||
lookup3.h | ||
Makefile.am | ||
memory.c | ||
pack_unpack.c | ||
strbuffer.c | ||
strbuffer.h | ||
strconv.c | ||
utf.c | ||
utf.h | ||
value.c |