Tweak the default validation behaviour of the unpack API
authorPetri Lehtinen <petri@digip.org>
Sat, 29 Jan 2011 19:38:07 +0000 (21:38 +0200)
committerPetri Lehtinen <petri@digip.org>
Sat, 29 Jan 2011 19:38:07 +0000 (21:38 +0200)
commitef13fb91899584f6c80a40fad26405870a2ec780
treebfa393ef69f69357092fbb599c1a15e40a45d381
parent7706abcbedf7ed6d7675b846806830717c1f45d7
Tweak the default validation behaviour of the unpack API

Now, by default, unpacking doesn't check that all array and object
items are accessed. The check can be enabled globally by using the
JSON_STRICT flag (formerly JSON_UNPACK_ONLY), or on a per-value basis
by using the new '!' format character. The '*' format character is
still available to disable the global check on a per-value basis.
doc/apiref.rst
src/jansson.h
src/pack_unpack.c