jansson/test/suites/api
Vincent Bernat 7a0b9af662 Allow to mix JSON_STRICT with optional keys
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.
2014-02-15 17:40:22 +01:00
..
check-exports check-exports test: Filter out symbols that start with an underscore 2013-02-05 12:48:38 +02:00
Makefile.am Enable gcc specific flags in tests correctly 2013-02-04 09:49:58 +02:00
run Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_array.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_copy.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_dump_callback.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_dump.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_equal.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_load_callback.c Document and tweak json_load_callback() 2012-03-26 21:53:21 +03:00
test_load.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_loadb.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_memory_funcs.c CVE-2013-6401: Change hash function, randomize hashes 2014-02-11 08:41:30 +02:00
test_number.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_object.c Merge branch '2.6' 2014-02-11 14:49:15 +02:00
test_pack.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_simple.c Update copyrights for 2014 2014-01-28 09:16:05 +02:00
test_unpack.c Allow to mix JSON_STRICT with optional keys 2014-02-15 17:40:22 +01:00
util.h Update copyrights for 2014 2014-01-28 09:16:05 +02:00