42 Commits (66f78692193d72167c7a223a2bc255e420b10a68)

Author SHA1 Message Date
  Eric Hawicz ad8b8afa7d Take 2 fixing the placement of json_tokener_error_memory in the enum. (json_tokener_error_size is an actual error, *not* a measure of the size of the enum!) 2 years ago
  Eric Hawicz 3dad6941da Move the json_tokener_error_memory entry to the end of enum json_tokener_error to restore binary compatibility with 0.16 2 years ago
  Tobias Stoeckmann 9e6acc9a4e json_tokener_parse_ex: handle out of memory errors 3 years ago
  Eric Haszlakiewicz 10a9ac245e Issue #642: improve docs for json_tokener.h and json_object_object_add(). 5 years ago
  Eric Haszlakiewicz a68566bf6a Issue #616: Change the parsing of surrogate pairs in unicode escapes so it uses a couple of additional states instead of assuming the low surrogate is already present, to ensure that we correctly handle various cases of incremental parsing. 5 years ago
  Eric Haszlakiewicz 36118b681e Rearrange the json_tokener_state_escape_unicode case in json_tokener to simplify the code slightly and make it a bit easier to understand. 5 years ago
  Eric Haszlakiewicz 50179fb09f Update the json_tokener_parse_ex() docs to clarify that the final '\0' character is to be included in length passed in. 5 years ago
  dota17 c1b872d817 fix issue 616: support the surrogate pair in split file. 5 years ago
  Eric Haszlakiewicz f6f76f9430 Add a JSON_TOKENER_ALLOW_TRAILING_CHARS flag for json_tokener_set_flags() to allow multiple objects to be parsed from input even when JSON_TOKENER_STRICT is set. 5 years ago
  Eric Haszlakiewicz 0a95f98b8d Explicitly mark several things in json_tokener deprecated. 5 years ago
  Eric Haszlakiewicz 5cc11289b4 Make json_tokener_validate_utf8() internal to json_tokener.c, and improve the docs a bit. 5 years ago
  dota17 8b162c4b89 clang-format the files 5 years ago
  dota17 c117d8a8a8 add the disabling formatting coments and adjust the partial code manuly 5 years ago
  dota17 787a8b3f1c update code 5 years ago
  dota17 eca74dcccf test utf8 5 years ago
  Eric Haszlakiewicz eae040a84a Issue #488: use JSON_EXPORT on functions so they are properly exported on Windows. 6 years ago
  Eric Haszlakiewicz 05b41b159e Add a json_tokener_get_parse_end() function to replace direct access of tok->char_offset. 6 years ago
  andy5995 506a32d4ab
json_object.c:set errno in json_object_get_double() 6 years ago
  Christopher Head 31d4d3dee7
Document refcount of json_tokener_parse_ex return 7 years ago
  Eric Haszlakiewicz f2f103b986 Add a brief overview of each file to the docs. 7 years ago
  Eric Haszlakiewicz 11ab365324 Deprecated a few typedefs, add docs on json_object_iter, move json_number_chars and json_hex-chars to json_object_private.h. 7 years ago
  David Henot a9f265d166 Fix library build with Visual Studio 8 years ago
  Leon M. George 482e771af1 fix doc in tokener header file 8 years ago
  Michael Vetter fcf5ad1bd6 Remove trailing whitespace 11 years ago
  Michael Clark 64e36901a0 Patch to address the following issues: 11 years ago
  Eric Haszlakiewicz f9136f6852 Make the json_tokener_errors array local. It has been deprecated for a while, and json_tokener_error_desc() should be used instead. 11 years ago
  Eric Haszlakiewicz 05da316b9c Issue #103: allow Infinity and -Infinity to be parsed. 11 years ago
  Eric Haszlakiewicz e8161a11bb Issue #15: add a way to set a JSON_TOKENER_STRICT flag to forbid commas at the end of arrays and objects. 12 years ago
  Remi Collet 197cb1d1c1 Make maximum recursion depth a runtime option 13 years ago
  Eric Haszlakiewicz 1489b081a7 For the prototype for json_tokener_error_desc(). 13 years ago
  Eric Haszlakiewicz 2f9091f559 Add json_tokener_get_error() and json_tokener_error_desc() to better encapsulate the process of retrieving errors while parsing. 13 years ago
  Jehiah Czebotar a503ee8217 add json_tokener_parse_verbose, and return NULL on parser errors 15 years ago
  Christopher Watford b1a22ac85f Add const qualifier to the json_tokener_parse functions 16 years ago
  Michael Clark aaec1ef3c5 * Don't use this as a variable, so we can compile with a C++ compiler 16 years ago
  Michael Clark a3272546b1 fix to allow compile with -Werror 17 years ago
  Michael Clark 14862b1ef3 Patch allows for json-c compile with -Werror and not fail due to 18 years ago
  Michael Clark c8f4a6e7de * Fix bug with use of capital E in numbers with exponents 18 years ago
  Michael Clark a850f8e29e * Add escaping of backslash to json output 18 years ago
  Michael Clark 837240f75f * Fix bug in escaping of control characters 18 years ago
  Michael Clark f6a6e486ff * Make headers C++ compatible by change *this to *obj 18 years ago
  Michael Clark 4504df7117 * printbuf.c - C. Watford (christopher dot watford at gmail dot com) 18 years ago
  Michael Clark f0d08887b8 import of version 0.1 18 years ago