v3.11.3¶
Released on 2023-11-28.
Adds features and fixes bugs found in 3.11.2. All changes are backward-compatible.
- Adds a custom base class as a node customization point.
- Adds serialization-only conversion macros (
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_ONLY_SERIALIZEandNLOHMANN_DEFINE_TYPE_INTRUSIVE_ONLY_SERIALIZE) and a clearer parse error for empty input. - Adds Bazel and Swift Package Manager build support.
- Fixes custom allocators, a memory leak in
adl_serializer'sto_json, initializer-list construction whensize_typeis notint, and many compiler warnings.
API changes¶
Added (2 pages):
basic_json:json_base_class_tmacros:JSON_HAS_STATIC_RTTI
Changed: