mirror of
https://github.com/nlohmann/json.git
synced 2026-10-25 15:28:54 +00:00
1.4 KiB
1.4 KiB
v3.12.0
Released on 2025-04-11.
Fixes bugs found in 3.11.3 and adds several features. No public API was removed or renamed.
- Adds diagnostic byte positions via
JSON_DIAGNOSTIC_POSITIONS, exposed through the newstart_posandend_posmember functions. - Makes the conversion macros
templated (so they also work with
ordered_json) and addsNLOHMANN_DEFINE_DERIVED_TYPEfor derived classes. - Adds
std::optionalsupport (C++17) and letspatch,diff, andflattenwork with arbitrary string types. - Extends the binary formats: BJData draft 3 and unsigned 64-bit integers for BSON.
- Adds multidimensional C-array conversion and UTF-8 encoded
std::filesystem::pathconversions, and raises the minimum CMake version to 3.5 and supports CMake 4.0.