On January 6, 4.3.0 was released for one of fastest libraries JSON reader and writer, written in C++ (header-only, C++23 standard) and distributed under the MIT license.
CSV and formats are also supported. BEVE.
List of changes:
- Added compile-time option (and wrapper) append_arrays, which appends data to types like std::vector without overwriting it:
std::vector v{}; constexpr glz::opts append_opts{.append_arrays = true}; expect(not glz::read (v, "[1,2,3]")); expect(v == std::vector {1,2,3}); expect(not glz::read (v, "[4,5,6]")); expect(v == std::vector {1,2,3,4,5,6});
- Added support for dynamically changing types of the Eigen library.
- Added support for reflection of Eigen vector types.
- Improved glz::async_string with more methods and std::format support.
- Refactoring map entry.
- Fix always_null_t in object handling and faster always null writing.
- More efficient numeric keys in dynamic maps.
Source: linux.org.ru
