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 \/.
    • ๐Ÿ› 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).
    • โœ… Tests:

      • Fix the symbol exports test on Linux/PPC64 (#88).
    • ๐Ÿ“š Documentation:

      • Fix typos (#73, #84).