8
0
forked from pool/nlohmann_json

1 Commits

Author SHA256 Message Date
Martin Hauke
67c96a1da3 - Update to version 3.12.0:
* Diagnostic byte positions: A new macro,
    JSON_DIAGNOSTIC_POSITIONS, introduces member functions to query
    the byte positions of values in the input they were parsed from.
  * Enhanced conversion macros: The conversion macros for arbitrary
    types now include several upgrades: All macros are templated,
    supporting json, ordered_json, and any other basic_json
    specialization.
  * Derived classes can now be seamlessly converted to/from JSON
    using the new NLOHMANN_DEFINE_DERIVED_TYPE_* macros.
  * Support for std::optional: The library now supports conversions
    from/to std::optional types when compiled with C++17.
  * Flexible string compatibility: Functions patch, diff, and
    flatten now work with arbitrary string types.
  * Binary format enhancements: The BJData mapping now supports
    draft 3, including optimized binary array types. The BSON
    mapping has added support for unsigned 64-bit integers. The
    get_number function used in the binary format implementations
    has been optimized to read multiple bytes at once.
  * Multidimensional array conversion: Multidimensional C-style
    arrays can now be directly converted to JSON.
  * Filesystem paths in UTF-8: The conversions from/to
    std::filesystem::path are now encoded to UTF-8 strings by
    default on all operating systems.
  * CMake 4.0 support.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nlohmann_json?expand=0&rev=40
2025-04-13 18:34:40 +00:00