Commit Graph

  • 886c4fbebf Add a json_type_to_name() function which returns a string that describes the type. Useful for logging. Eric Haszlakiewicz 2011-05-03 20:40:49 +00:00
  • e2e16011f0 Fix a bug in json_object_get_int() where calling it on a string type object would always return 0, instead of the actual numerical value of the string. Eric Haszlakiewicz 2011-05-03 20:39:07 +00:00
  • d1342d6f2d Add a dummy "NEWS" file to automake doesn't complain. Eric Haszlakiewicz 2011-05-03 19:24:07 +00:00
  • c096f5a7d7 readme updates Jehiah Czebotar 2011-01-14 18:02:00 +00:00
  • ac601b5b5f update json_object_new_string_len, json_escape_str (internal). Writer handles \x00 correctly Jehiah Czebotar 2011-01-14 17:23:06 +00:00
  • a503ee8217 add json_tokener_parse_verbose, and return NULL on parser errors Jehiah Czebotar 2010-12-08 03:52:07 +00:00
  • 5644272f03 set svn:ignore and .gitignore to skip intermediate build files Jehiah Czebotar 2010-12-07 23:22:33 +00:00
  • 252669cee6 Simplify things by storing integer values only as int64_t's internally, and omit the range check during parsing since we already have the checks when accessing the value. There is no longer a json_type_int64, only json_type_int. Fix some problems with parsing 0 and -0 values, and add a couple of tests. Fix some minor compile issues on HPUX environments. ehaszla 2010-12-07 18:15:35 +00:00
  • f1ae67dbf0 * Fix file descriptor leak if memory allocation fails in json_util Zachary Blair, zack_blair at hotmail dot com Michael Clark 2010-10-13 14:10:51 +00:00
  • bd0a567673 * Fix file descriptor leak if memory allocation fails in json_util Zachary Blair, zack_blair at hotmail dot com Michael Clark 2010-10-13 14:09:41 +00:00
  • d34701ed38 Update executable properties Michael Clark 2010-10-07 01:05:14 +00:00
  • c4dceae1c5 * Add int64 support. Two new functions json_object_net_int64 and json_object_get_int64. Binary compatibility preserved. Eric Haszlakiewicz, EHASZLA at transunion com Rui Miguel Silva Seabra, rms at 1407 dot org Michael Clark 2010-10-06 16:39:20 +00:00
  • 88ded9ceb8 * Make json_object_from_file take const char *filename Spotted by Vikram Raj V, vsagar at attinteractive dot com Michael Clark 2009-08-27 06:40:59 +00:00
  • f5dd43a9d1 * Fix subtle bug in linkhash where lookup could hang after all slots were filled then successively freed. Spotted by Jean-Marc Naud, j dash m at newtraxtech dot com Michael Clark 2009-08-27 06:40:00 +00:00
  • 126ad95fc4 * Add handling of surrogate pairs Brent Miller 2009-08-20 06:50:22 +00:00
  • f8663fc16f * Correct comment describing printbuf_memappend in printbuf.h Brent Miller 2009-08-20 06:41:32 +00:00
  • 51658855fb Add json-c.vcproj to EXTRA_DIST Michael Clark 2009-08-19 08:31:29 +00:00
  • 50626cd81f Add mailing lists to README.html Michael Clark 2009-08-19 08:18:25 +00:00
  • 09abeffda3 Add note about autoconf README changes to ChangeLog Michael Clark 2009-08-19 07:23:23 +00:00
  • db92cc02b9 Add README.html, README-WIN32.html and config.h.win32 to EXTRA_DIST in Makefile.am Christopher Watford 2009-07-31 02:59:02 +00:00
  • 1363df08d2 Update version to 0.9 Christopher Watford 2009-07-31 02:50:48 +00:00
  • b22565d1fd Update changelog Christopher Watford 2009-07-31 02:12:46 +00:00
  • c80ba8dd42 typo fix Michael Clark 2009-07-25 00:21:18 +00:00
  • 7fb9b03ffd * Rename min and max so we can never clash with C or C++ std library Ian Atha, thatha at yahoo-inc dot com Michael Clark 2009-07-25 00:13:44 +00:00
  • b1a22ac85f Add const qualifier to the json_tokener_parse functions Eric Haszlakiewicz, EHASZLA at transunion dot com Christopher Watford 2009-07-08 04:02:05 +00:00
  • 543bb1431f Erik Hovland (3): Fix any noticeable spelling or grammar errors. Make sure every va_start has a va_end. Check all pointers for validity. Christopher Watford 2009-07-08 03:46:10 +00:00
  • c5cbf8214a Disable REFCOUNT_DEBUG by default in json_object.c Christopher Watford 2009-06-30 03:40:53 +00:00
  • ffa742a552 Ooops. remove literal ^M (copy and paste problem) Christopher Watford 2009-05-12 02:40:24 +00:00
  • 9bc863ed3f Change note about CVS repository to point to subversion repos Christopher Watford 2009-05-12 02:36:04 +00:00
  • 24ea8c0414 update changelog for json_object_get_boolean fix Michael Clark 2009-04-27 08:22:22 +00:00
  • 6f70e44b7d Fix json_object_get_boolean to return false for empty string Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com Michael Clark 2009-04-27 08:19:27 +00:00
  • 95f55a761c optimizations to json_tokener_parse_ex(), printbuf_memappend() -- Brent Miller, bdmiller at yahoo dash inc dot com Michael Clark 2009-04-27 08:16:58 +00:00
  • aaec1ef3c5 * Don't use this as a variable, so we can compile with a C++ compiler * 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> Michael Clark 2009-02-25 02:31:32 +00:00
  • 266a3fd301 * Don't use this as a variable, so we can compile with a C++ compiler Michael Clark, <michael@metaparadigm.com> Michael Clark 2009-02-25 01:55:31 +00:00
  • 22dee7cb59 * Null pointer dereference fix. Fix json_object_get_boolean strlen test to not return TRUE for zero length string. Remove redundant includes. Erik Hovland, erik at hovland dot org Michael Clark 2009-02-25 01:51:40 +00:00
  • e8de078806 * Fixed warning reported by adding -Wstrict-prototypes -Wold-style-definition to the compilatin flags. Dotan Barak, dotanba at gmail dot com Michael Clark 2009-02-25 01:45:00 +00:00
  • 75d0f12135 fix typo Michael Clark 2009-01-10 14:14:12 +00:00
  • e6548a3dc2 fix typo in json_object.h Michael Clark 2009-01-10 13:58:06 +00:00
  • 68cafad078 Add const correctness to public interfaces Gerard Krol, g dot c dot krol at student dot tudelft dot nl Michael Clark 2009-01-06 22:56:57 +00:00
  • 436aa98d67 update auto generated files Michael Clark 2009-01-06 22:53:25 +00:00
  • 4b831c3b2f Update version to 0.8 Michael Clark 2009-01-05 07:01:14 +00:00
  • 80a6007009 changes to make 'make dist' work properly Michael Clark 2009-01-05 06:55:02 +00:00
  • 8cdac64ccd Add va_end for every va_start. Dotan Barak, dotanba at gmail dot com Michael Clark 2009-01-05 03:57:59 +00:00
  • a0d35c7ebf change version to 0.8 Michael Clark 2008-08-08 06:54:28 +00:00
  • a3272546b1 fix to allow compile with -Werror -- Geoffrey Young, geoff at modperlcookbook dot org Michael Clark 2008-01-26 01:10:47 +00:00
  • 14862b1ef3 Patch allows for json-c compile with -Werror and not fail due to -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations Geoffrey Young, geoff at modperlcookbook dot org Michael Clark 2007-12-07 02:50:42 +00:00
  • c8f4a6e7de * Fix bug with use of capital E in numbers with exponents Mateusz Loskot, mateusz at loskot dot net * Add stddef.h include Michael Clark 2007-12-07 02:44:24 +00:00
  • dfaf670436 * Add macros to enable compiling out debug code Geoffrey Young, geoff at modperlcookbook dot org Michael Clark 2007-10-25 02:26:00 +00:00
  • ecf2c9b74b Update version number to 0.7 Michael Clark 2007-05-17 13:30:29 +00:00
  • a850f8e29e * Add escaping of backslash to json output * 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 Michael Clark 2007-03-13 08:26:26 +00:00
  • 837240f75f * Fix bug in escaping of control characters 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> Michael Clark 2007-03-13 08:26:25 +00:00
  • f6a6e486ff * Make headers C++ compatible by change *this to *obj * Add ifdef C++ extern "C" to headers * Use simpler definition of min and max in bits.h Larry Lansing, llansing at fuzzynerd dot com Michael Clark 2007-03-13 08:26:23 +00:00
  • 0370baa74c * Fix additional error case in object parsing * Add back sign reversal in nested object parse as error pointer value is negative, while error value is positive. Michael Clark <michael@metaparadigm.com> Michael Clark 2007-03-13 08:26:22 +00:00
  • 7b899b6dc5 * fix pointer arithmetic bug for error pointer check in is_error() macro * fix type passed to printbuf_memappend in json_tokener * update autotools bootstrap instructions in README Michael Clark <michael@metaparadigm.com> Michael Clark 2007-03-13 08:26:21 +00:00
  • 4504df7117 * printbuf.c - C. Watford (christopher dot watford at gmail dot com) 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> Michael Clark 2007-03-13 08:26:20 +00:00
  • f0d08887b8 import of version 0.1 Michael Clark 2007-03-13 08:26:18 +00:00
  • 6d59966c4e create new svn project Michael Clark 2007-03-13 08:26:17 +00:00