2.3.1
New std::expected
Support
- Support for glz/std::expected with JSON by @stephenberry in #851
The expected value will be directly written/read as JSON. The unexpected value will be written/read as an object with the key "unexpected"
.
Example of a string error from an expected (e.g. std::expected<MyStruct, std::string>
):
{"unexpected":"my error"}
Improvements
- Adding support for glz::custom in repe registry by @stephenberry in #844
- Simplifying and cleaning up includes by @stephenberry in #849
Fixes
- Fix for std::complex reading with whitespace by @stephenberry in #852
Full Changelog: v2.3.0...v2.3.1