netheril96 / StaticJSON

Fast, direct and static typed parsing of JSON with C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WString support?

imtrobin opened this issue · comments

Hi, when I try to use a wstring in add_property, I get a compile error

staticjson_init': is not a member of 'std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>

You can write your custom converters. I do not officially support it because it is only useful on Windows, and no portable way to convert it from/to std::string.