summaryrefslogtreecommitdiff
path: root/json_tokener.h
AgeCommit message (Collapse)AuthorFilesLines
2014-08-26Remove trailing whitespaceMichael Vetter1-4/+4
2014-04-09Patch to address the following issues:Michael Clark1-1/+7
* CVE-2013-6371: hash collision denial of service * CVE-2013-6370: buffer overflow if size_t is larger than int
2014-03-22Make the json_tokener_errors array local. It has been deprecated for a ↵Eric Haszlakiewicz1-8/+0
while, and json_tokener_error_desc() should be used instead.
2014-03-22Issue #103: allow Infinity and -Infinity to be parsed.Eric Haszlakiewicz1-1/+2
2013-03-31Issue #15: add a way to set a JSON_TOKENER_STRICT flag to forbid commas at ↵Eric Haszlakiewicz1-1/+21
the end of arrays and objects.
2012-11-27Make maximum recursion depth a runtime optionRemi Collet1-3/+4
2012-03-31For the prototype for json_tokener_error_desc().Eric Haszlakiewicz1-3/+3
2012-02-22Add json_tokener_get_error() and json_tokener_error_desc() to better ↵Eric Haszlakiewicz1-0/+89
encapsulate the process of retrieving errors while parsing. Add documentation for the json_tokener_parse_ex() function.
2010-12-08add json_tokener_parse_verbose, and return NULL on parser errorsJehiah Czebotar1-1/+2
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@62 327403b1-1117-474d-bef2-5cb71233fd97
2009-07-08 Add const qualifier to the json_tokener_parse functionsChristopher Watford1-2/+2
Eric Haszlakiewicz, EHASZLA at transunion dot com git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@42 327403b1-1117-474d-bef2-5cb71233fd97
2009-02-25 * Don't use this as a variable, so we can compile with a C++ compilerMichael Clark1-0/+8
* Add casts from void* to type of assignment when using malloc * Add #ifdef __cplusplus guards to all of the headers * Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table Michael Clark, <michael@metaparadigm.com> git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@33 327403b1-1117-474d-bef2-5cb71233fd97
2008-01-26fix to allow compile with -WerrorMichael Clark1-0/+1
-- Geoffrey Young, geoff at modperlcookbook dot org git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@21 327403b1-1117-474d-bef2-5cb71233fd97
2007-12-07Patch allows for json-c compile with -Werror and not fail due toMichael Clark1-1/+1
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations Geoffrey Young, geoff at modperlcookbook dot org git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@20 327403b1-1117-474d-bef2-5cb71233fd97
2007-12-07* Fix bug with use of capital E in numbers with exponentsMichael Clark1-1/+1
Mateusz Loskot, mateusz at loskot dot net * Add stddef.h include git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@19 327403b1-1117-474d-bef2-5cb71233fd97
2007-03-13 * Add escaping of backslash to json outputMichael Clark1-8/+34
* Add escaping of foward slash on tokenizing and output * Changes to internal tokenizer from using recursion to using a depth state structure to allow incremental parsing git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@14 327403b1-1117-474d-bef2-5cb71233fd97
2007-03-13 * Fix bug in escaping of control charactersMichael Clark1-13/+1
Johan Bj�rklund, johbjo09 at kth dot se * Remove include "config.h" from headers (should only be included from .c files) Michael Clark <michael@metaparadigm.com> git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@12 327403b1-1117-474d-bef2-5cb71233fd97
2007-03-13 * Make headers C++ compatible by change *this to *objMichael Clark1-13/+6
* Add ifdef C++ extern "C" to headers * Use simpler definition of min and max in bits.h Larry Lansing, llansing at fuzzynerd dot com * Remove automake 1.6 requirement * Move autogen commands into autogen.sh. Update README * Remove error pointer special case for Windows * Change license from LGPL to MIT Michael Clark <michael@metaparadigm.com> git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@10 327403b1-1117-474d-bef2-5cb71233fd97
2007-03-13 * printbuf.c - C. Watford (christopher dot watford at gmail dot com)Michael Clark1-1/+13
Added a Win32/Win64 compliant implementation of vasprintf * debug.c - C. Watford (christopher dot watford at gmail dot com) Removed usage of vsyslog on Win32/Win64 systems, needs to be handled by a configure script * json_object.c - C. Watford (christopher dot watford at gmail dot com) Added scope operator to wrap usage of json_object_object_foreach, this needs to be rethought to be more ANSI C friendly * json_object.h - C. Watford (christopher dot watford at gmail dot com) Added Microsoft C friendly version of json_object_object_foreach * json_tokener.c - C. Watford (christopher dot watford at gmail dot com) Added a Win32/Win64 compliant implementation of strndup * json_util.c - C. Watford (christopher dot watford at gmail dot com) Added cast and mask to suffice size_t v. unsigned int conversion correctness * json_tokener.c - sign reversal issue on error info for nested object parse spotted by Johan Bj�rklund (johbjo09 at kth.se) * json_object.c - escape " in json_escape_str * Change to automake and libtool to build shared and static library Michael Clark <michael@metaparadigm.com> git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@4 327403b1-1117-474d-bef2-5cb71233fd97
2007-03-13import of version 0.1Michael Clark1-0/+70
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@2 327403b1-1117-474d-bef2-5cb71233fd97