Skip to content

v3.4.1

Compare
Choose a tag to compare
@stephenberry stephenberry released this 17 Sep 23:45
· 335 commits to main since this release

Improvements

  • New glz::write_at, to write to a target value given a JSON Pointer path by @stephenberry in #1300
  • Limit recursive depth in beve_to_json in #1301
  • new_lines_in_arrays support for .prettify = true write in #1302
  • Enum reading with new hash approach in #1303
  • Support for partial writing of const qualified objects in #1304
  • Using new hash approach in glz::mustache in #1306

glz::write_at example:

std::string buffer = R"({"str":"hello","number":3.14,"sub":{"target":"X"}})";
auto ec = glz::write_at<"/sub/target">("42", buffer);
expect(buffer == R"({"str":"hello","number":3.14,"sub":{"target":42}})");

Full Changelog: v3.4.0...v3.4.1