1
20.11
3
4  * IMPORTANT: the name of the library has changed to libjson-c.so and
5     the header files are now in include/json-c.
6     The pkgconfig name has also changed from json to json-c.
7     You should change your build to use appropriate -I and -l options.
8     A compatibility shim is in place so builds using the old name will
9     continue to work, but that will be removed in the next release.
10  * Maximum recursion depth is now a runtime option.
11     json_tokener_new() is provided for compatibility.
12     json_tokener_new_ex(depth)
13  * Include json_object_iterator.h in the installed headers.
14  * Add support for building on Android.
15  * Rewrite json_object_object_add to replace just the value if the key already exists so keys remain valid.
16  * Make it safe to delete keys while iterating with the json_object_object_foreach macro.
17  * Add a json_set_serializer() function to allow the string output of a json_object to be customized.
18  * Make float parsing locale independent.
19  * Add a json_tokener_set_flags() function and a JSON_TOKENER_STRICT flag.
20  * Enable -Werror when building.
21  * speed improvements to parsing 64-bit integers on systems with working sscanf
22  * Add a json_object_object_length function.
23  * Fix a bug (buffer overrun) when expanding arrays to more than 64 entries.
24
250.10
26
27  * Add a json_object_to_json_string_ext() function to allow output to be
28     formatted in a more human readable form.
29  * Add json_object_object_get_ex(), a NULL-safe get object method, to be able
30     to distinguish between a key not present and the value being NULL.
31  * Add an alternative iterator implementation, see json_object_iterator.h
32  * Make json_object_iter public to enable external use of the
33     json_object_object_foreachC macro.
34  * Add a printbuf_memset() function to provide an effecient way to set and
35     append things like whitespace indentation.
36  * Adjust json_object_is_type and json_object_get_type so they return
37      json_type_null for NULL objects and handle NULL passed to
38      json_objct_object_get().
39  * Rename boolean type to json_bool.
40  * Fix various compile issues for Visual Studio and MinGW.
41  * Allow json_tokener_parse_ex() to be re-used to parse multiple object.
42     Also, fix some parsing issues with capitalized hexadecimal numbers and
43     number in E notation.
44  * Add json_tokener_get_error() and json_tokener_error_desc() to better
45     encapsulate the process of retrieving errors while parsing.
46  * Various improvements to the documentation of many functions.
47  * Add new json_object_array_sort() function.
48  * Fix a bug in json_object_get_int(), which would incorrectly return 0
49    when called on a string type object.
50    Eric Haszlakiewicz
51  * Add a json_type_to_name() function.
52    Eric Haszlakiewicz
53  * Add a json_tokener_parse_verbose() function.
54    Jehiah Czebotar
55  * Improve support for null bytes within JSON strings.
56    Jehiah Czebotar
57  * Fix file descriptor leak if memory allocation fails in json_util
58    Zachary Blair, zack_blair at hotmail dot com
59  * Add int64 support. Two new functions json_object_net_int64 and
60    json_object_get_int64. Binary compatibility preserved.
61    Eric Haszlakiewicz, EHASZLA at transunion com
62    Rui Miguel Silva Seabra, rms at 1407 dot org
63  * Fix subtle bug in linkhash where lookup could hang after all slots
64    were filled then successively freed.
65    Spotted by Jean-Marc Naud, j dash m at newtraxtech dot com
66  * Make json_object_from_file take const char *filename
67    Spotted by Vikram Raj V, vsagar at attinteractive dot com
68  * Add handling of surrogate pairs (json_tokener.c, test4.c, Makefile.am)
69    Brent Miller, bdmiller at yahoo dash inc dot com
70  * Correction to comment describing printbuf_memappend in printbuf.h
71    Brent Miller, bdmiller at yahoo dash inc dot com
72
730.9
74  * Add README.html README-WIN32.html config.h.win32 to Makefile.am
75    Michael Clark, <michael@metaparadigm.com>
76  * Add const qualifier to the json_tokener_parse functions
77    Eric Haszlakiewicz, EHASZLA at transunion dot com
78  * Rename min and max so we can never clash with C or C++ std library
79    Ian Atha, thatha at yahoo dash inc dot com
80  * Fix any noticeable spelling or grammar errors.
81  * Make sure every va_start has a va_end.
82  * Check all pointers for validity.
83    Erik Hovland, erik at hovland dot org
84  * Fix json_object_get_boolean to return false for empty string
85    Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com
86  * optimizations to json_tokener_parse_ex(), printbuf_memappend()
87    Brent Miller, bdmiller at yahoo dash inc dot com
88  * Disable REFCOUNT_DEBUG by default in json_object.c
89  * Don't use this as a variable, so we can compile with a C++ compiler
90  * Add casts from void* to type of assignment when using malloc
91  * Add #ifdef __cplusplus guards to all of the headers
92  * Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table
93    Michael Clark, <michael@metaparadigm.com>
94  * Null pointer dereference fix. Fix json_object_get_boolean strlen test
95    to not return TRUE for zero length string. Remove redundant includes.
96    Erik Hovland, erik at hovland dot org
97  * Fixed warning reported by adding -Wstrict-prototypes
98    -Wold-style-definition to the compilatin flags.
99    Dotan Barak, dotanba at gmail dot com
100  * Add const correctness to public interfaces
101    Gerard Krol, g dot c dot krol at student dot tudelft dot nl
102
1030.8
104  * Add va_end for every va_start
105    Dotan Barak, dotanba at gmail dot com
106  * Add macros to enable compiling out debug code
107    Geoffrey Young, geoff at modperlcookbook dot org
108  * Fix bug with use of capital E in numbers with exponents
109    Mateusz Loskot, mateusz at loskot dot net
110  * Add stddef.h include
111  * Patch allows for json-c compile with -Werror and not fail due to
112    -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
113    Geoffrey Young, geoff at modperlcookbook dot org
114
1150.7
116  * Add escaping of backslash to json output
117  * Add escaping of foward slash on tokenizing and output
118  * Changes to internal tokenizer from using recursion to
119    using a depth state structure to allow incremental parsing
120
1210.6
122  * Fix bug in escaping of control characters
123    Johan Bj�rklund, johbjo09 at kth dot se
124  * Remove include "config.h" from headers (should only
125    be included from .c files)
126    Michael Clark <michael@metaparadigm.com>
127
1280.5
129  * Make headers C++ compatible by change *this to *obj
130  * Add ifdef C++ extern "C" to headers
131  * Use simpler definition of min and max in bits.h
132    Larry Lansing, llansing at fuzzynerd dot com
133
134  * Remove automake 1.6 requirement
135  * Move autogen commands into autogen.sh. Update README
136  * Remove error pointer special case for Windows
137  * Change license from LGPL to MIT
138    Michael Clark <michael@metaparadigm.com>
139
1400.4
141  * Fix additional error case in object parsing
142  * Add back sign reversal in nested object parse as error pointer
143    value is negative, while error value is positive.
144    Michael Clark <michael@metaparadigm.com>
145
1460.3
147  * fix pointer arithmetic bug for error pointer check in is_error() macro
148  * fix type passed to printbuf_memappend in json_tokener
149  * update autotools bootstrap instructions in README
150    Michael Clark <michael@metaparadigm.com>
151
1520.2
153  * printbuf.c - C. Watford (christopher.watford@gmail.com)
154    Added a Win32/Win64 compliant implementation of vasprintf
155  * debug.c - C. Watford (christopher.watford@gmail.com)
156    Removed usage of vsyslog on Win32/Win64 systems, needs to be handled
157    by a configure script
158  * json_object.c - C. Watford (christopher.watford@gmail.com)
159    Added scope operator to wrap usage of json_object_object_foreach, this
160    needs to be rethought to be more ANSI C friendly
161  * json_object.h - C. Watford (christopher.watford@gmail.com)
162    Added Microsoft C friendly version of json_object_object_foreach
163  * json_tokener.c - C. Watford (christopher.watford@gmail.com)
164    Added a Win32/Win64 compliant implementation of strndup
165  * json_util.c - C. Watford (christopher.watford@gmail.com)
166    Added cast and mask to suffice size_t v. unsigned int conversion
167    correctness
168  * json_tokener.c - sign reversal issue on error info for nested object parse
169    spotted by Johan Bj�rklund (johbjo09 at kth.se)
170  * json_object.c - escape " in json_escape_str
171  * Change to automake and libtool to build shared and static library
172    Michael Clark <michael@metaparadigm.com>
173
1740.1
175  * initial release
176