Jansson v2.11 Release Notes
Release Date: 2018-02-11 // about 6 years ago-
๐ Released 2018-02-09
๐ New features:
- Add
json_pack()
format specifiers s*, o* and O* for values that can be omitted if null (#339). - Add
json_error_code()
to retrieve numeric error codes (#365, #380, #381). - Enable thread safety for
json_dump()
on all systems. Enable thread safejson_decref()
andjson_incref()
for modern compilers (#389). - Add
json_sprintf()
andjson_vsprintf()
(#393).
- Add
๐ Bug Fixes:
- Fix incorrect report of success from
json_dump_file()
when an error is returned byfclose()
(#359). - Make json_equal() const-correct (#344).
- Fix incomplete stealing of references by
json_pack()
(#374).
- Fix incorrect report of success from
๐ Build:
- Work around gcc's -Wimplicit-fallthrough.
- Fix CMake detection of
sys/types.h
header (#375). - Fix
jansson.pc
generated by CMake to be more consistent with the one generated using GNU Autotools (#368).
Other:
- Miscellaneous documentation fixes (#356, #378, #395).
- Remove unnecessary reference actions from parsers (#377).