Add validation features to json_unpack()
authorPetri Lehtinen <petri@digip.org>
Mon, 24 Jan 2011 19:45:54 +0000 (21:45 +0200)
committerPetri Lehtinen <petri@digip.org>
Tue, 25 Jan 2011 06:53:55 +0000 (08:53 +0200)
* By default, json_unpack() now checks that all items of arrays and
  objects are unpacked. This is useful for validation.

* Add format specifier '*' to suppress this check for individual
  arrays and objects. '*' must appear as the last format specifier
  before the closing ']' or '}'.


No differences found