v3.11.2¶
Released on 2022-08-12.
Fixes bugs found in 3.11.1 and restructures the namespace. All changes are backward-compatible.
- Fixes the
valuefunction (broken for strings, size types, andnullptrin 3.11.0) and makesjson_fwd.hppself-contained. - Restores using
json_pointeras a key in associative containers and comparing it with strings. - Restructures the inline namespace and allows disabling the version component, and avoids heap allocations in the BJData parser.
API changes¶
Added (2 pages):
json_pointer:operator<=>macros:NLOHMANN_JSON_NAMESPACE_NO_VERSION
Changed:
basic_json::value: Overload 2: MadeValueTypethe first template parameter in version 3.11.2.json_pointer::operator==: Overload 1: Added C++20 member functions in version 3.11.2.json_pointer::operator==: Overload 2: Added for backward compatibility and deprecated in version 3.11.2.json_pointer::operator!=: Overload 2: Added for backward compatibility and deprecated in version 3.11.2.NLOHMANN_JSON_NAMESPACE: Changed inline namespace name in version 3.11.2.NLOHMANN_JSON_NAMESPACE_BEGIN, NLOHMANN_JSON_NAMESPACE_END: Changed inline namespace name in version 3.11.2.