getml / reflect-cpp

A C++20 library for fast serialization, deserialization and validation using reflection. Supports JSON, BSON, CBOR, flexbuffers, msgpack, TOML, XML, YAML / msgpack.org[C++20]
https://getml.github.io/reflect-cpp/
MIT License
821 stars 66 forks source link

feat: add support for parsing std::wstrings #61

Closed Lazrius closed 5 months ago

Lazrius commented 5 months ago

Adds a conversion to/fro wstring while parsing using wcstombs/mbstowcs. Due to the differences between various implementations and the C++ standard depreciating wstring_convert, this is the best solution I could think of. Let me know if there are potentially better ideas/implementations.

If I have missed anything, do let me know - this is a compicated repo! 😸