- update to new upstream release 2.9
* New features:
Add json_auto_t to automatically decref a value that goes out of scope.
Available only on GCC and Clang. (#301)
* Small documentation fixes.
- changelog from 2.8
* New features:
- Always preserve insertion order of object items. json_object_iter()
and friends, json_object_foreach() and json_dumps() and friends now
always work in the insertion order of object items (#293).
- Add json_object_foreach_safe() macro that allows json_object_del()
calls during iteration (#230).
- Add json_get_alloc_funcs() to allow reading the allocation functions
set by json_set_alloc_funcs() (#262, #264).
- Add json_pack() format specifiers s?, o? and O? for values that can
be null (#261, #270).
* Bug fixes:
- Fix a crash when parsing inputs consisting of very deeply nested
arrays or objects (#282, #284).
- Never convert numbers to integers in the parser when
JSON_DECODE_INT_AS_REAL is set.
- Fix a use-after-free in json_pack() error handling.
- Fix subnormal number parsing on mingw32.
- Handle out-of-memory situations gracefully in the hashtable
implementation
OBS-URL: https://build.opensuse.org/request/show/461496
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libjansson?expand=0&rev=14
3.8 KiB
3.8 KiB