Add JSON_DISABLE_EOF_CHECK decoding flag
authorPetri Lehtinen <petri@digip.org>
Sun, 29 May 2011 18:19:28 +0000 (21:19 +0300)
committerPetri Lehtinen <petri@digip.org>
Sun, 29 May 2011 18:27:15 +0000 (21:27 +0300)
commita76ba52f3450cfb3ca544f7e7f451db1578822e6
treeb8a01683e13b2feb094ce6a503f8b8ab9a7dd645
parent9febdf333c3720e1e28811a0cd28c980444e9ad3
Add JSON_DISABLE_EOF_CHECK decoding flag

With this flag enabled, the decoder stops after a valid JSON input and
thus allows extra data after it.

Fixes GH-25.
doc/apiref.rst
src/jansson.h
src/load.c
test/suites/api/test_load.c