diff --git a/ChangeLog b/ChangeLog index 9699b46..e079337 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,149 @@ -NEXT.VERSION +0.13 (up to commit 5dae561, 2017/11/29) +================================= + +This release, being three and a half years after the 0.12 branch (f84d9c), + has quite a number of changes included. The following is a sampling of + the most significant ones. + +Since the 0.12 release, 250 issues and pull requests have been closed. +See issues_closed_for_0.13.md for a complete list. + + +Deprecated and removed features: +-------------------------------- +* All internal use of bits.h has been eliminated. The file will be removed. + Do not use: hexdigit(), error_ptr(), error_descrition() and it_error() +* lh_abort() is deprecated. It will be removed. + +Behavior changes: +----------------- +* Tighten the number parsing algorithm to raise errors instead of truncating + the results. For example 12.3.4 or 2015-01-15, which now return null. + See commit 99d8fc + +* Use size_t for array length and size. Platforms where sizeof(size_t) != sizeof(int) may not be backwards compatible + See commits 45c56b, 92e9a5 and others. + +* Check for failue when allocating memory, returning NULL and errno=ENOMEM. + See commit 2149a04. + +* Change json_object_object_add() return type from void to int, and will return -1 on failures, instead of exiting. (Note: this is not an ABI change) + +New features: +------------- +* We're aiming to follow RFC 7159 now. + +* Add a couple of additional option to json_object_to_json_string_ext: + JSON_C_TO_STRING_PRETTY_TAB + JSON_C_TO_STRING_NOSLASHESCAPE + +* Add a json_object_object_add_ex() function to allow for performance + improvements when certain constraints are known to be true. + +* Make serialization format of doubles configurable, in two different ways: + Call json_object_set_serializer with json_object_double_to_json_string and a custom + format on each double object, or + Call json_c_set_serialization_double_format() to set a global or thread-wide format. + +* Add utility function for comparing json_objects - json_object_equal() + +* Add a way to copy entire object trees: json_object_deep_copy() +* Add json_object_set_ function to modify the value of existing json_object's + without the need to recreate them. Also add a json_object_int_inc function to + adjust an int's value. +* Add support for JSON pointer, RFC 6901. See json_pointer.h +* Add a json_util_get_last_err() function to retrieve the string describing the + cause of errors, instead of printing to stderr. +* Add perllike hash function for strings, and json_global_set_string_hash() 8f8d03d +* Add a json_c_visit() function to provide a way to iterate over a tree of json-c objects. + +Notable bug fixes and other improvements: +----------------------------------------- +* Make reference increment and decrement atomic to allow passing json objects between threads. +* Fix json_object_object_foreach to avoid uninitialized variable warnings. +* Improve performance by removing unneeded data items from hashtable code and reducing duplicate hash computation. +* Improve performance by storing small strings inside json_object +* Improve performance of json_object_to_json_string by removing variadic printf. commit 9ff0f49 +* Issue #371: fix parsing of "-Infinity", and avoid needlessly copying the input when doing so. +* Fix stack buffer overflow in json_object_double_to_json_string_format() - commit 2c2deb87 +* Fix various potential null ptr deref and int32 overflows +* Issue #332: fix a long-standing bug in array_list_put_idx() where it would attempt to free previously free'd entries due to not checking the current array length. +* Issue #195: use uselocale() instead of setlocale() in json_tokener to behave better in threaded environments. +* Issue #275: fix out of bounds read when handling unicode surrogate pairs. +* Ensure doubles that happen to be a whole number are emitted with ".0" - commit ca7a19 +* PR#331: for Visual Studio, use a snprintf/vsnprintf wrapper that ensures the string is terminated. +* Fix double to int cast overflow in json_object_get_int64. +* Clamp double to int32 when narrowing in json_object_get_int. +* Use strtoll() to parse ints - instead of sscanf +* Miscellaneous smaller changes, including removing unused variables, fixing warning + about uninitialized variables adding const qualifiers, reformatting code, etc... + +Build changes: +-------------- +* Add Appveyor and Travis build support +* Switch to using CMake when building on Windows with Visual Studio. + A dynamic .dll is generated instead of a .lib + config.h is now generated, config.h.win32 should no longer be manually copied +* Add support for MacOS through CMake too. +* Enable silent build by default +* Link against libm when needed +* Add support for building with AddressSanitizer +* Add support for building with Clang +* Add a --enable-threading configure option, and only use the (slower) __sync_add_and_fetch()/__sync_sub_and_fetch() function when it is specified. + +List of new functions added: +---------------------------- +### json_object.h +* array_list_bsearch() +* array_list_del_idx() +* json_object_to_json_string_length() +* json_object_get_userdata() +* json_object_set_userdata() +* json_object_object_add_ex() +* json_object_array_bsearch() +* json_object_array_del_idx() +* json_object_set_boolean() +* json_object_set_int() +* json_object_int_inc() +* json_object_set_int64() +* json_c_set_serialization_double_format() +* json_object_double_to_json_string() +* json_object_set_double() +* json_object_set_string() +* json_object_set_string_len() +* json_object_equal() +* json_object_deep_copy() + +### json_pointer.h +* json_pointer_get() +* json_pointer_getf() +* json_pointer_set() +* json_pointer_setf() + +### json_util.h +* json_object_from_fd() +* json_object_to_fd() +* json_util_get_last_err() + +### json_visit.h +* json_c_visit() + +### linkhash.h +* json_global_set_string_hash() +* lh_table_resize() + +### printbuf.h +* printbuf_strappend() - ...nothing yet... 0.12.1 +====== * Minimal changes to address compile issues. 0.12 +==== * Address security issues: * CVE-2013-6371: hash collision denial of service @@ -47,6 +183,7 @@ NEXT.VERSION 0.11 +==== * IMPORTANT: the name of the library has changed to libjson-c.so and the header files are now in include/json-c. @@ -70,6 +207,7 @@ NEXT.VERSION * Fix a bug (buffer overrun) when expanding arrays to more than 64 entries. 0.10 +==== * Add a json_object_to_json_string_ext() function to allow output to be formatted in a more human readable form. @@ -118,6 +256,7 @@ NEXT.VERSION Brent Miller, bdmiller at yahoo dash inc dot com 0.9 +=== * Add README.html README-WIN32.html config.h.win32 to Makefile.am Michael Clark, * Add const qualifier to the json_tokener_parse functions @@ -148,6 +287,7 @@ NEXT.VERSION Gerard Krol, g dot c dot krol at student dot tudelft dot nl 0.8 +=== * Add va_end for every va_start Dotan Barak, dotanba at gmail dot com * Add macros to enable compiling out debug code @@ -160,12 +300,14 @@ NEXT.VERSION Geoffrey Young, geoff at modperlcookbook dot org 0.7 +=== * 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 0.6 +=== * Fix bug in escaping of control characters Johan Björklund, johbjo09 at kth dot se * Remove include "config.h" from headers (should only @@ -173,6 +315,7 @@ NEXT.VERSION Michael Clark 0.5 +=== * 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 @@ -185,18 +328,21 @@ NEXT.VERSION Michael Clark 0.4 +=== * 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 0.3 +=== * 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 0.2 +=== * printbuf.c - C. Watford (christopher.watford@gmail.com) Added a Win32/Win64 compliant implementation of vasprintf * debug.c - C. Watford (christopher.watford@gmail.com) @@ -219,4 +365,5 @@ NEXT.VERSION Michael Clark 0.1 +=== * initial release diff --git a/Makefile.am b/Makefile.am index 88e7a41..9e86ad8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,7 @@ EXTRA_DIST = README.md README.html EXTRA_DIST += config.h.win32 EXTRA_DIST += Doxyfile +EXTRA_DIST += issues_closed_for_0.13.md dist-hook: test -d "$(distdir)/doc" || mkdir "$(distdir)/doc" diff --git a/issues_closed_for_0.13.md b/issues_closed_for_0.13.md new file mode 100644 index 0000000..7c8d625 --- /dev/null +++ b/issues_closed_for_0.13.md @@ -0,0 +1,265 @@ + +This list was created with: + +curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2014-04-10+created%3A<2017-12-01&sort=created&order=asc&per_page=400&page=1" > issues1.out +curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2014-04-10+created%3A<2017-12-01&sort=created&order=asc&per_page=400&page=2" > issues2.out +curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2014-04-10+created%3A<2017-12-01&sort=created&order=asc&per_page=400&page=3" > issues3.out +jq -r '.items[] | "[" + .title + "](" + .url + ")" | tostring' issues?.out > issues.md +#... manual editing ... + +---- + +Issues and Pull Requests closed for the 0.13 release +(since commit f84d9c, the 0.12 branch point, 2014-04-10) + +[Make json_object_object_add() indicate success or failure, test fix](https://api.github.com/repos/json-c/json-c/issues/61) +[Build fixes (make dist and make distcheck)](https://api.github.com/repos/json-c/json-c/issues/113) +[Fixing build](https://api.github.com/repos/json-c/json-c/issues/124) +[Fix compile error(variable size set but not used) on g++4.6](https://api.github.com/repos/json-c/json-c/issues/125) +[Removed unused size variable.](https://api.github.com/repos/json-c/json-c/issues/126) +[remove unused `size` variable](https://api.github.com/repos/json-c/json-c/issues/127) +[Remove unused variable from json_tokenizer.c](https://api.github.com/repos/json-c/json-c/issues/128) +[Failed to compile under Ubuntu 13.10 32bit](https://api.github.com/repos/json-c/json-c/issues/130) +[undefined symbol: __sync_val_compare_and_swap_4 ](https://api.github.com/repos/json-c/json-c/issues/131) +[Remove unused variable 'size'](https://api.github.com/repos/json-c/json-c/issues/132) +[Update and rename README to README.md](https://api.github.com/repos/json-c/json-c/issues/133) +[Must remove variable size...](https://api.github.com/repos/json-c/json-c/issues/134) +[bits.h uses removed json_tokener_errors\[error\]](https://api.github.com/repos/json-c/json-c/issues/135) +[Error when running make check](https://api.github.com/repos/json-c/json-c/issues/136) +[config.h.in should not be in git](https://api.github.com/repos/json-c/json-c/issues/137) +[Can't build on RHEL 6.5 due to dependency on automake-1.14](https://api.github.com/repos/json-c/json-c/issues/138) +[Code bug in random_test.c evaluating same expression twice ](https://api.github.com/repos/json-c/json-c/issues/140) +[Removed duplicate check in random_seed test - bug #140](https://api.github.com/repos/json-c/json-c/issues/141) +[Please undeprecate json_object_object_get](https://api.github.com/repos/json-c/json-c/issues/142) +[Introduce json_object_from_fd](https://api.github.com/repos/json-c/json-c/issues/144) +[Handle % character properly](https://api.github.com/repos/json-c/json-c/issues/145) +[TAGS rename](https://api.github.com/repos/json-c/json-c/issues/146) +[Bump the soname](https://api.github.com/repos/json-c/json-c/issues/148) +[SONAME bump](https://api.github.com/repos/json-c/json-c/issues/149) +[Fix build using MinGW.](https://api.github.com/repos/json-c/json-c/issues/150) +[Remove json_type enum trailing comma](https://api.github.com/repos/json-c/json-c/issues/151) +[error while compiling json-c library version 0.11](https://api.github.com/repos/json-c/json-c/issues/152) +[improve doc for json_object_to_json_string()](https://api.github.com/repos/json-c/json-c/issues/153) +[double precision](https://api.github.com/repos/json-c/json-c/issues/154) +[add bsearch for arrays](https://api.github.com/repos/json-c/json-c/issues/155) +[Remove trailing whitespaces](https://api.github.com/repos/json-c/json-c/issues/156) +[JSON-C shall not exit on calloc fail.](https://api.github.com/repos/json-c/json-c/issues/157) +[while using json-c 0.11, I am facing strange crash issue in json_object_put.](https://api.github.com/repos/json-c/json-c/issues/158) +[json_tokener.c compile error](https://api.github.com/repos/json-c/json-c/issues/159) +[missing header file on windows??](https://api.github.com/repos/json-c/json-c/issues/160) +[Is there a way to append to file?](https://api.github.com/repos/json-c/json-c/issues/161) +[json_util: add directory check for POSIX distros](https://api.github.com/repos/json-c/json-c/issues/162) +[Fix Win32 build problems](https://api.github.com/repos/json-c/json-c/issues/163) +[made it compile and link on Widnows (as static library)](https://api.github.com/repos/json-c/json-c/issues/164) +[json_object_to_json_string_ext length](https://api.github.com/repos/json-c/json-c/issues/165) +[Can't build on Windows with Visual Studio 2010](https://api.github.com/repos/json-c/json-c/issues/167) +[Tightening the number parsing algorithm](https://api.github.com/repos/json-c/json-c/issues/168) +[Doesn't compile on ubuntu 14.04, 64bit](https://api.github.com/repos/json-c/json-c/issues/169) +[Generated files in repository](https://api.github.com/repos/json-c/json-c/issues/170) +[Update configuration for VS2010 and win64](https://api.github.com/repos/json-c/json-c/issues/171) +[Adding support for parsing octal numbers](https://api.github.com/repos/json-c/json-c/issues/172) +[json_parse_int64 doesn't work correctly at illumos](https://api.github.com/repos/json-c/json-c/issues/173) +[Adding JSON_C_TO_STRING_PRETTY_TAB flag](https://api.github.com/repos/json-c/json-c/issues/174) +[make check fails 4 tests with overflows when built with ASAN](https://api.github.com/repos/json-c/json-c/issues/175) +[Possible to delete an array element at a given idx ?](https://api.github.com/repos/json-c/json-c/issues/176) +[Fix compiler warnings](https://api.github.com/repos/json-c/json-c/issues/177) +[Unable to compile on CentOS5](https://api.github.com/repos/json-c/json-c/issues/178) +[Added array_list_del_idx and json_object_array_del_idx](https://api.github.com/repos/json-c/json-c/issues/179) +[Enable silent build by default](https://api.github.com/repos/json-c/json-c/issues/180) +[json_tokener_parse_ex accepts invalid JSON](https://api.github.com/repos/json-c/json-c/issues/181) +[Link against libm when needed](https://api.github.com/repos/json-c/json-c/issues/182) +[Apply compile warning fix to master branch](https://api.github.com/repos/json-c/json-c/issues/183) +[Use only GCC-specific flags when compiling with GCC](https://api.github.com/repos/json-c/json-c/issues/184) +[compile error](https://api.github.com/repos/json-c/json-c/issues/185) +[Syntax error](https://api.github.com/repos/json-c/json-c/issues/186) +[array_list_get_idx and negative indexes.](https://api.github.com/repos/json-c/json-c/issues/187) +[json_object_object_foreach warnings](https://api.github.com/repos/json-c/json-c/issues/188) +[noisy json_object_from_file: error opening file](https://api.github.com/repos/json-c/json-c/issues/189) +[warning: initialization discards const qualifier from pointer target type \[enabled by default\]](https://api.github.com/repos/json-c/json-c/issues/190) +[json_tokener_parse accepts invalid JSON {"key": "value" , }](https://api.github.com/repos/json-c/json-c/issues/192) +[Make serialization format of doubles configurable](https://api.github.com/repos/json-c/json-c/issues/193) +[Add utility function for comparing json_objects](https://api.github.com/repos/json-c/json-c/issues/194) +[Call uselocale instead of setlocale](https://api.github.com/repos/json-c/json-c/issues/195) +[Performance improvements](https://api.github.com/repos/json-c/json-c/issues/196) +[Time for a new release?](https://api.github.com/repos/json-c/json-c/issues/197) +[Fix possible memory leak and remove superfluous NULL checks before free()](https://api.github.com/repos/json-c/json-c/issues/198) +[Fix build in Visual Studio](https://api.github.com/repos/json-c/json-c/issues/199) +[Add build scripts for CI platforms](https://api.github.com/repos/json-c/json-c/issues/200) +[disable forward-slash escaping?](https://api.github.com/repos/json-c/json-c/issues/201) +[Array with objects support](https://api.github.com/repos/json-c/json-c/issues/202) +[Add source position/coordinates to API](https://api.github.com/repos/json-c/json-c/issues/203) +[json-c/json.h not found ](https://api.github.com/repos/json-c/json-c/issues/204) +[json-c Compiled with Visual Studios](https://api.github.com/repos/json-c/json-c/issues/205) +[what do i use in place of json_object_object_get?](https://api.github.com/repos/json-c/json-c/issues/206) +[Add support for property pairs directly added to arrays](https://api.github.com/repos/json-c/json-c/issues/207) +[Performance enhancements (mainly) to json_object_to_json_string()](https://api.github.com/repos/json-c/json-c/issues/208) +[fix regression from 2d549662be832da838aa063da2efa78ee3b99668](https://api.github.com/repos/json-c/json-c/issues/209) +[Use size_t for arrays](https://api.github.com/repos/json-c/json-c/issues/210) +[Atomic updates for the refcount](https://api.github.com/repos/json-c/json-c/issues/211) +[Refcount doesn't work between threads](https://api.github.com/repos/json-c/json-c/issues/212) +[fix to compile with microsoft visual c++ 2010](https://api.github.com/repos/json-c/json-c/issues/213) +[Some non-GNU systems support __sync_val_compare_and_swap](https://api.github.com/repos/json-c/json-c/issues/214) +[Build json-c for window 64 bit.](https://api.github.com/repos/json-c/json-c/issues/215) +[configure: check realloc with AC_CHECK_FUNCS() to fix cross-compilation.](https://api.github.com/repos/json-c/json-c/issues/216) +[Checking for functions in float.h](https://api.github.com/repos/json-c/json-c/issues/217) +[Use a macro to indicate C99 to the compiler](https://api.github.com/repos/json-c/json-c/issues/218) +[Fix various potential null ptr deref and int32 overflows](https://api.github.com/repos/json-c/json-c/issues/219) +[Add utility function for comparing json_objects](https://api.github.com/repos/json-c/json-c/issues/220) +[JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly](https://api.github.com/repos/json-c/json-c/issues/221) +[Fix issue #221: JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly](https://api.github.com/repos/json-c/json-c/issues/222) +[Clarify json_object_get_string documentation of NULL handling & return](https://api.github.com/repos/json-c/json-c/issues/223) +[json_tokener.c - all warnings being treated as errors](https://api.github.com/repos/json-c/json-c/issues/224) +[Hi, will you support clib as a "registry"?](https://api.github.com/repos/json-c/json-c/issues/225) +[Bump SOVERSION to 3](https://api.github.com/repos/json-c/json-c/issues/227) +[avoid double slashes from json](https://api.github.com/repos/json-c/json-c/issues/228) +[configure fails: checking size of size_t... configure: error: cannot determine a size for size_t](https://api.github.com/repos/json-c/json-c/issues/229) +[Use stdint.h to check for size_t size](https://api.github.com/repos/json-c/json-c/issues/230) +[Fix size_t size check for first-time builds](https://api.github.com/repos/json-c/json-c/issues/231) +[tests/tests1: fix printf format for size_t arguments](https://api.github.com/repos/json-c/json-c/issues/232) +[Include stddef.h in json_object.h](https://api.github.com/repos/json-c/json-c/issues/233) +[Add public API to use userdata independently of custom serializer](https://api.github.com/repos/json-c/json-c/issues/234) +[Undefined symbols Error for architecture x86_64 on Mac ](https://api.github.com/repos/json-c/json-c/issues/235) +[Building a project which uses json-c with flag -Wcast-qual causes compilation errors](https://api.github.com/repos/json-c/json-c/issues/236) +[handle escaped utf-8](https://api.github.com/repos/json-c/json-c/issues/237) +[linkhash.c: optimised the table_free path](https://api.github.com/repos/json-c/json-c/issues/238) +[initialize null terminator of new printbuf](https://api.github.com/repos/json-c/json-c/issues/239) +[Compile error: Variable set but not used](https://api.github.com/repos/json-c/json-c/issues/240) +[getting error in date string 19\/07\/2016, fixed for error 19/07/2016](https://api.github.com/repos/json-c/json-c/issues/241) +[json_tokener_parse error](https://api.github.com/repos/json-c/json-c/issues/242) +[Fix #165](https://api.github.com/repos/json-c/json-c/issues/243) +[Error while compiling source from RHEL5, could you please help me to fix this ](https://api.github.com/repos/json-c/json-c/issues/244) +[json-c compile in window xp](https://api.github.com/repos/json-c/json-c/issues/245) +[Mac: uselocale failed to build](https://api.github.com/repos/json-c/json-c/issues/246) +[json_object_array_del_idx function has segment fault error?](https://api.github.com/repos/json-c/json-c/issues/247) +[Minor changes in C source code](https://api.github.com/repos/json-c/json-c/issues/248) +[Improving README](https://api.github.com/repos/json-c/json-c/issues/249) +[Improving .gitignore](https://api.github.com/repos/json-c/json-c/issues/250) +[Adding a file for EditorConfig](https://api.github.com/repos/json-c/json-c/issues/251) +[Very minor changes not related to C source code](https://api.github.com/repos/json-c/json-c/issues/252) +[Adding a test with cppcheck for Travis CI](https://api.github.com/repos/json-c/json-c/issues/253) +[Very minor changes to some tests](https://api.github.com/repos/json-c/json-c/issues/254) +[Minor changes in C source code](https://api.github.com/repos/json-c/json-c/issues/255) +[Mailing list dead?](https://api.github.com/repos/json-c/json-c/issues/256) +[Defining a coding style](https://api.github.com/repos/json-c/json-c/issues/257) +[Enable CI services](https://api.github.com/repos/json-c/json-c/issues/258) +[Fails to parse valid json](https://api.github.com/repos/json-c/json-c/issues/259) +[Adding an object to itself](https://api.github.com/repos/json-c/json-c/issues/260) +[Lack of proper documentation](https://api.github.com/repos/json-c/json-c/issues/261) +[Add Cmakefile and fix compiler warning.](https://api.github.com/repos/json-c/json-c/issues/262) +[Compiler Warnings with VS2015](https://api.github.com/repos/json-c/json-c/issues/263) +[successed in simple test while failed in my project](https://api.github.com/repos/json-c/json-c/issues/264) +[Conformance report for reference](https://api.github.com/repos/json-c/json-c/issues/265) +[crash perhaps related to reference counting](https://api.github.com/repos/json-c/json-c/issues/266) +[Removes me as Win32 maintainer, because I'm not.](https://api.github.com/repos/json-c/json-c/issues/267) +[Documentation of json_object_to_json_string gives no information about memory management](https://api.github.com/repos/json-c/json-c/issues/268) +[json_object__set(json_object *o, value) API for value setting in json object private structure](https://api.github.com/repos/json-c/json-c/issues/269) +[new API json_object_new_double_f(doubel d,const char * fmt);](https://api.github.com/repos/json-c/json-c/issues/270) +[Cannot compile using CMake on macOS](https://api.github.com/repos/json-c/json-c/issues/271) +[fixed wrong object name in json_object_all_values_equal](https://api.github.com/repos/json-c/json-c/issues/273) +[Support for 64 bit pointers on Windows](https://api.github.com/repos/json-c/json-c/issues/274) +[Out-of-bounds read in json_tokener_parse_ex](https://api.github.com/repos/json-c/json-c/issues/275) +[ ./configure for centos release 6.7(final) failure](https://api.github.com/repos/json-c/json-c/issues/276) +[Json object set xxx](https://api.github.com/repos/json-c/json-c/issues/277) +[Serialization of double with no fractional component drops trailing zero](https://api.github.com/repos/json-c/json-c/issues/278) +[Segmentation fault in array_list_length()](https://api.github.com/repos/json-c/json-c/issues/279) +[Should json_object_array_get_idx check whether input obj is array? ](https://api.github.com/repos/json-c/json-c/issues/280) +[how to pretty print json-c? ](https://api.github.com/repos/json-c/json-c/issues/281) +[ignore temporary files](https://api.github.com/repos/json-c/json-c/issues/282) +[json_pointer: add first revision based on RFC 6901](https://api.github.com/repos/json-c/json-c/issues/283) +[Resusing json_tokener object](https://api.github.com/repos/json-c/json-c/issues/284) +[Revert "compat/strdup.h: move common compat check for strdup() to own](https://api.github.com/repos/json-c/json-c/issues/285) +[json_tokener_parse_ex() returns json_tokener_continue on zero-length string](https://api.github.com/repos/json-c/json-c/issues/286) +[json_pointer: extend setter & getter with printf() style arguments](https://api.github.com/repos/json-c/json-c/issues/287) +[Fix _GNU_SOURCE define for vasprintf](https://api.github.com/repos/json-c/json-c/issues/288) +[bugfix: floating point representaion without fractional part ](https://api.github.com/repos/json-c/json-c/issues/289) +[duplicate an json_object](https://api.github.com/repos/json-c/json-c/issues/290) +[isspace assert error](https://api.github.com/repos/json-c/json-c/issues/291) +[configure error "./configure: line 13121: syntax error near unexpected token `-Wall'"](https://api.github.com/repos/json-c/json-c/issues/292) +[how to make with bitcode for ios](https://api.github.com/repos/json-c/json-c/issues/293) +[Adding UTF-8 validation. Fixes #122](https://api.github.com/repos/json-c/json-c/issues/294) +[cross compile w/ mingw](https://api.github.com/repos/json-c/json-c/issues/295) +[Missing functions header in json_object.h](https://api.github.com/repos/json-c/json-c/issues/296) +[could not parse string to Json object? Like string str=\"helloworld;E\\test\\log\\;end\"](https://api.github.com/repos/json-c/json-c/issues/297) +[Building using CMake doesn't work](https://api.github.com/repos/json-c/json-c/issues/298) +[Improve json_object -> string performance](https://api.github.com/repos/json-c/json-c/issues/299) +[Running tests with MinGW build](https://api.github.com/repos/json-c/json-c/issues/300) +[How to deep copy json_object in C++ ?](https://api.github.com/repos/json-c/json-c/issues/301) +[json_tokener_parse_ex doesn't parse JSON values](https://api.github.com/repos/json-c/json-c/issues/302) +[fix doc in tokener header file](https://api.github.com/repos/json-c/json-c/issues/303) +[(.text+0x72846): undefined reference to `is_error'](https://api.github.com/repos/json-c/json-c/issues/304) +[Fix compilation without C-99 option](https://api.github.com/repos/json-c/json-c/issues/305) +[./configure: line 12748 -error=deprecated-declarations](https://api.github.com/repos/json-c/json-c/issues/306) +[Memory leak in json_tokener_parse](https://api.github.com/repos/json-c/json-c/issues/307) +[AM_PROG_LIBTOOL not found on Linux](https://api.github.com/repos/json-c/json-c/issues/308) +[GCC 7 reports various -Wimplicit-fallthrough= errors](https://api.github.com/repos/json-c/json-c/issues/309) +[Add FALLTHRU comment to handle GCC7 warnings.](https://api.github.com/repos/json-c/json-c/issues/310) +[Fix error C3688 when compiling on Visual Studio 2015](https://api.github.com/repos/json-c/json-c/issues/311) +[Fix CMake Build process improved for MinGW and MSYS2](https://api.github.com/repos/json-c/json-c/issues/312) +[VERBOSE=1 make check; tests/test_util_file.test.c and tests/test_util_file.expected out of sync](https://api.github.com/repos/json-c/json-c/issues/313) +[Passing -1 to json_tokener_parse_ex is possibly unsafe](https://api.github.com/repos/json-c/json-c/issues/315) +[Memory Returned by json_object_to_json_string not freed](https://api.github.com/repos/json-c/json-c/issues/316) +[json_object_get_string gives segmentation error](https://api.github.com/repos/json-c/json-c/issues/317) +[PVS-Studio static analyzer analyze results](https://api.github.com/repos/json-c/json-c/issues/318) +[Windows: Fix dynamic library build with Visual Studio](https://api.github.com/repos/json-c/json-c/issues/319) +[Can't compile in Mac OS X El Capitan](https://api.github.com/repos/json-c/json-c/issues/320) +[build,cmake: fix vasprintf implicit definition and generate both static & shared libs](https://api.github.com/repos/json-c/json-c/issues/321) +[can not link with libjson-c.a](https://api.github.com/repos/json-c/json-c/issues/322) +[implicit fallthrough detected by gcc 7.1](https://api.github.com/repos/json-c/json-c/issues/323) +[JsonPath like function?](https://api.github.com/repos/json-c/json-c/issues/324) +[Fix stack buffer overflow in json_object_double_to_json_string_format()](https://api.github.com/repos/json-c/json-c/issues/325) +[why json-c so hard to compile](https://api.github.com/repos/json-c/json-c/issues/327) +[json_object: implement json_object_deep_copy() function](https://api.github.com/repos/json-c/json-c/issues/328) +[build,cmake: build,cmake: rename libjson-c-static.a to libjson-c.a](https://api.github.com/repos/json-c/json-c/issues/329) +[tests: symlink basic tests to a single file that has the common code](https://api.github.com/repos/json-c/json-c/issues/330) +[Safe use of snprintf() / vsnprintf() for Visual studio, and thread-safety fix](https://api.github.com/repos/json-c/json-c/issues/331) +[Valgrind: invalid read after json_object_array_del_idx.](https://api.github.com/repos/json-c/json-c/issues/332) +[Replace obsolete AM_PROG_LIBTOOL](https://api.github.com/repos/json-c/json-c/issues/333) +[README.md: show build status tag from travis-ci.org](https://api.github.com/repos/json-c/json-c/issues/335) +[tests: fix tests in travis-ci.org](https://api.github.com/repos/json-c/json-c/issues/336) +[Synchronize "potentially racy" random seed in lh_char_hash()](https://api.github.com/repos/json-c/json-c/issues/337) +[implement json_object_int_inc(json_object *, int64_t)](https://api.github.com/repos/json-c/json-c/issues/338) +[Json schema validation](https://api.github.com/repos/json-c/json-c/issues/339) +[strerror_override: add extern "C" and JSON_EXPORT specifiers for Visual C++ compilers](https://api.github.com/repos/json-c/json-c/issues/340) +[character "/" parse as "\/"](https://api.github.com/repos/json-c/json-c/issues/341) +[ No such file or directory "/usr/include/json.h"](https://api.github.com/repos/json-c/json-c/issues/342) +[Can't parse json](https://api.github.com/repos/json-c/json-c/issues/343) +[Fix Mingw build](https://api.github.com/repos/json-c/json-c/issues/344) +[Fix make dist and make distcheck](https://api.github.com/repos/json-c/json-c/issues/345) +[Clamp double to int32 when narrowing in json_object_get_int.](https://api.github.com/repos/json-c/json-c/issues/346) +[MSVC linker error json_c_strerror](https://api.github.com/repos/json-c/json-c/issues/347) +[why](https://api.github.com/repos/json-c/json-c/issues/348) +[`missing` is missing?](https://api.github.com/repos/json-c/json-c/issues/349) +[stderror-override and disable-shared](https://api.github.com/repos/json-c/json-c/issues/350) +[SIZE_T_MAX redefined from limits.h](https://api.github.com/repos/json-c/json-c/issues/351) +[`INSTALL` overrides an automake script.](https://api.github.com/repos/json-c/json-c/issues/352) +[Documentation issues](https://api.github.com/repos/json-c/json-c/issues/353) +[Fixes #351 #352 #353 ](https://api.github.com/repos/json-c/json-c/issues/354) +[1.make it can been compiled with Visual Studio 2010 by modify the CMakeList.txt and others](https://api.github.com/repos/json-c/json-c/issues/355) +[VS2008 test test_util_file.cpp err!](https://api.github.com/repos/json-c/json-c/issues/356) +[__json_c_strerror incompatibility with link-time optimization](https://api.github.com/repos/json-c/json-c/issues/357) +[make issue](https://api.github.com/repos/json-c/json-c/issues/358) +[update CMakeLists.txt for compile with visual studio at least 2010](https://api.github.com/repos/json-c/json-c/issues/359) +[Use strtoll() to parse ints](https://api.github.com/repos/json-c/json-c/issues/360) +[Fix double to int cast overflow in json_object_get_int64.](https://api.github.com/repos/json-c/json-c/issues/361) +[CMake Package Config](https://api.github.com/repos/json-c/json-c/issues/362) +[Issue #338, add json_object_add_int functions](https://api.github.com/repos/json-c/json-c/issues/363) +[Cmake is Errir](https://api.github.com/repos/json-c/json-c/issues/364) +[added fallthrough for gcc7](https://api.github.com/repos/json-c/json-c/issues/365) +[how to check the json string,crash!](https://api.github.com/repos/json-c/json-c/issues/366) +[Is json-c support "redirect" semantic?](https://api.github.com/repos/json-c/json-c/issues/367) +[Add examples](https://api.github.com/repos/json-c/json-c/issues/368) +[How to build json-c library for android?](https://api.github.com/repos/json-c/json-c/issues/369) +[Compiling using clang-cl](https://api.github.com/repos/json-c/json-c/issues/370) +[Invalid parsing for Infinity with json-c 0.12](https://api.github.com/repos/json-c/json-c/issues/371) +[Json-c 0.12: Fixed Infinity bug](https://api.github.com/repos/json-c/json-c/issues/372) +[build: fix build on appveyor CI](https://api.github.com/repos/json-c/json-c/issues/373) +[Undefined symbols for architecture x86_64:](https://api.github.com/repos/json-c/json-c/issues/374) +[what would happened when json_object_object_add add the same key](https://api.github.com/repos/json-c/json-c/issues/375) +[Eclipse error ](https://api.github.com/repos/json-c/json-c/issues/376) +[on gcc 7.2.0 on my linux distribution with json-c 2013-04-02 source](https://api.github.com/repos/json-c/json-c/issues/377) +[ Eclipse: library (libjson-c) not found, but configured](https://api.github.com/repos/json-c/json-c/issues/378) +[error: this statement may fall through \[-Werror=implicit-fallthrough=\]](https://api.github.com/repos/json-c/json-c/issues/379) +[Build on Windows](https://api.github.com/repos/json-c/json-c/issues/380) +[Fix makedist](https://api.github.com/repos/json-c/json-c/issues/381) +[Memory leak for json_tokener_parse_ex for version 0.12.1](https://api.github.com/repos/json-c/json-c/issues/382) +