jansson/test
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
..
bin Merge branch '2.6' 2014-02-11 14:49:15 +02:00
scripts Update copyrights for 2014 2014-01-28 09:16:05 +02:00
suites Allow to mix JSON_STRICT with optional keys 2014-02-15 17:40:22 +01:00
.gitignore Ignore the binary test_load_callback 2012-03-25 13:22:09 +00:00
Makefile.am Distribute some missing files 2010-01-21 21:48:31 +02:00
run-suites Fix tests on shells that don't support the export FOO=bar syntax 2012-03-08 15:01:52 +02:00