You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version 1.8.4 it seems that converting Json::Values to JSON strings and back messes up binary data. The following fails:
std::string s = /* a string with random bytes, not properly UTF-8 encoded */;
Json::Value a = s;
std::istringstream iss(a.toStyledString());
Json::Value b;
iss >> b;
JSONTEST_ASSERT(b.asString()==s);
Submitted pull request #725 with a test case that reproduces this behavior.