Hi Boris,
Yes potentially something like that could be done. It would have to be a bit more complex as the utility::string_t type is different depending on the platform. The json::value type needs to stay the same, but two additional types to be explicitly UTF-8 and UTF-16 could be created. Something like the following:
Yes potentially something like that could be done. It would have to be a bit more complex as the utility::string_t type is different depending on the platform. The json::value type needs to stay the same, but two additional types to be explicitly UTF-8 and UTF-16 could be created. Something like the following:
using value = valueT<utility::string_t::value_type>;
using valueutf8 = valueT<char>;
using valueutf16 = valueT<utf16char>;
Steve