Open zhuebok opened 6 years ago
define this
namespace cereal
{
template<class Traits, class Alloc> inline
void prologue(JSONOutputArchive & ar, std::basic_string<wchar_t, Traits, Alloc> const &)
{
}
}
Yes it should be noted that JSON serialization is not supported for std::wstring
; should I make a separate issue regarding this?
I tested it and XML doesn't support serialization of std::wstring
either, however you can use binary serialization and it will work.
Next code works fine if I use XML or binary serializer, but JSON serializer performs invalid serialization, so deserializer fails on JSON string parse.