v3.1.2
版本发布时间: 2018-03-15 04:50:00
nlohmann/json最新发布版本:v3.11.3(2023-11-29 05:38:09)
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: 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).
:zap: Improvements
- The parser and the serialization now support user-defined string types (#1006, #1009).
:hammer: Further Changes
-
Clang Analyzer is now used as additional static analyzer; see
make clang_analyze
. - Overworked README by adding links to the documentation (#981).
:fire: 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):
- Function
iterator_wrapper
are deprecated. Please use the member functionitems()
instead. - Functions
friend std::istream& operator<<(basic_json&, std::istream&)
andfriend std::ostream& operator>>(const basic_json&, std::ostream&)
are deprecated. Please usefriend std::istream& operator>>(std::istream&, basic_json&)
andfriend operator<<(std::ostream&, const basic_json&)
instead.
1、 include.zip 114.85KB
2、 include.zip.asc 833B
3、 json.hpp 581.86KB
4、 json.hpp.asc 833B