github stephenberry/glaze v5.1.0

latest releases: v9.0.0, v8.4.0, v8.3.0...
18 months ago

Major Feature: Erlang External Term Format (optional support)

The Glaze CMake adds the option glaze_EETF_FORMAT, which enables reading/writing in Erlang External Term Format.

Breaking Change

Swapped the read_supported and write_supported template parameters for cleaner code. #1684

This change allows us to write:

template <read_supported<JSON> T>

Rather than requiring:

template <class T>
requires read_supported<JSON, T>

Associated feature test macro: glaze_v5_1_0_supported_swap

New escape_control_characters compile time option

Use the extended option escape_control_characters to escape control characters when serializing JSON strings (#1693)

Fixes

  • Fixed raw_json compile error when using it in template func by @acking-you in #1671
  • Fixed MSVC warnings by @stephenberry in #1680
  • parse/serialize support for glz::async_vector in #1683
  • Support for parse/serialize of glz::guard in #1686

Full Changelog: v5.0.2...v5.1.0

Don't miss a new glaze release

NewReleases is sending notifications on new releases.