132 Commits (master)

Author SHA1 Message Date
  Eric Haszlakiewicz 56166e2dff Merge pull request #51 from remicollet/issue-dyndepth 12 years ago
  Remi Collet a01b659ace move locale change to be global for perf 12 years ago
  Eric Haszlakiewicz 4e4af93d66 Fix issue #53 - ensure explicit length string are still NUL terminated, and fix json_tokener_parse() to work properly with embedded unicode \u0000 values in strings. 12 years ago
  Remi Collet 16a4a32e29 float parsing must be locale independent 13 years ago
  Remi Collet 197cb1d1c1 Make maximum recursion depth a runtime option 13 years ago
  Eric Haszlakiewicz 92f31bd99a Handle the \f escape sequence (the two characters: backslash followed by an f, not a literal formfeed) and extend the test_parse test to check all valid escape sequences. 13 years ago
  Mateusz Loskot a6f39a3c0c Replaced #if HAVE_X with #ifdef HAVE_X as the former test is troublemaker with #define HAVE_X where #define HAVE_X 1|0 is meant. 13 years ago
  Eric Haszlakiewicz f931f61851 Fixed parsing numbers in E notation. ` 13 years ago
  Eric Haszlakiewicz d809fa60c5 Fix a bug in json_tokener_parse_ex when re-using the same tokener to parse multiple objects. Now, json_tokener_reset() does not need to be called after a valid object is parsed. 13 years ago
  Eric Haszlakiewicz 3620cba6d0 Perform better error checking in json_tokener_parse_verbose and rewrite json_tokener_parse to use that instead of json_tokener_parse_ex. 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
  Frederik Deweerdt db050901fa json_tokener_parse(): avoid possible NULL deref 13 years ago
  Jehiah Czebotar a503ee8217 add json_tokener_parse_verbose, and return NULL on parser errors 15 years ago
  ehaszla 252669cee6 Simplify things by storing integer values only as int64_t's internally, and 15 years ago
  Michael Clark c4dceae1c5 * Add int64 support. Two new functions json_object_net_int64 and 15 years ago
  Brent Miller 126ad95fc4 * Add handling of surrogate pairs 16 years ago
  Michael Clark 7fb9b03ffd * Rename min and max so we can never clash with C or C++ std library 16 years ago
  Christopher Watford b1a22ac85f Add const qualifier to the json_tokener_parse functions 16 years ago
  Christopher Watford 543bb1431f Erik Hovland (3): 16 years ago
  Michael Clark 95f55a761c optimizations to json_tokener_parse_ex(), printbuf_memappend() 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 22dee7cb59 * Null pointer dereference fix. Fix json_object_get_boolean strlen test 16 years ago
  Michael Clark e8de078806 * Fixed warning reported by adding -Wstrict-prototypes 16 years ago
  Michael Clark c8f4a6e7de * Fix bug with use of capital E in numbers with exponents 18 years ago
  Michael Clark dfaf670436 * Add macros to enable compiling out debug code 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 0370baa74c * Fix additional error case in object parsing 18 years ago
  Michael Clark 7b899b6dc5 * fix pointer arithmetic bug for error pointer check in is_error() macro 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