Skip to content

JSON for Modern C++ version 3.1.2

Compare
Choose a tag to compare
@nlohmann nlohmann released this 14 Mar 20:50
· 2123 commits to develop since this release
d2dd27d

Release date: 2018-03-14
SHA-256: fbdfec4b4cf63b3b565d09f87e6c3c183bdd45c5be1864d3fcb338f6f02c1733 (json.hpp), 495362ee1b9d03d9526ba9ccf1b4a9c37691abe3a642ddbced13e5778c16660c (include.zip)

Summary

This release fixes several bugs in the library. All changes are backward-compatible.

🐛 Bug Fixes

  • Fixed a memory leak occurring in the parser callback (#1001).
  • Different specializations of basic_json (e.g., using different template arguments for strings or objects) can now be used in assignments (#972, #977, #986).
  • Fixed a logical error in an iterator range check (#992).

⚡ Improvements

  • The parser and the serialization now support user-defined string types (#1006, #1009).

🔨 Further Changes

🔥 Deprecated functions

This release does not deprecate any functions. As an overview, the following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0):