Jansson v2.4 Release Notes
Release Date: 2012-09-23 // over 11 years ago-
๐ Released 2012-09-23
๐ New features:
- Add
json_boolean()
macro that returns the JSON true or false value based on its argument (#86). - Add
json_load_callback()
that calls a callback function repeatedly to read the JSON input (#57). - Add JSON_ESCAPE_SLASH encoding flag to escape all occurences of
/
with\/
.
- Add
๐ Bug fixes:
- Check for and reject NaN and Inf values for reals. Encoding these values resulted in invalid JSON.
- Fix
json_real_set()
to return -1 on error.
๐ Build:
- Jansson now builds on Windows with Visual Studio 2010, and
includes solution and project files in
win32/vs2010/
directory. - Fix build warnings (#77, #78).
- Add
-no-undefined
to LDFLAGS (#90).
- Jansson now builds on Windows with Visual Studio 2010, and
includes solution and project files in
โ Tests:
- Fix the symbol exports test on Linux/PPC64 (#88).
๐ Documentation:
- Fix typos (#73, #84).