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
I read a json string,and convert to a Json::Value:
void xxx_json_param(const char* _jsondata, const char* _savepath)
{
Json::Value root;
Json::Reader reader;
reader.parse((const std::string)_jsondata, root);
Json::Value applicationjson_j = root["Application"];
//applicationjson_j is also a json,but when i asString(), it broke
string applicationjson = root["Application"].asString();
}
The text was updated successfully, but these errors were encountered:
I read a json string,and convert to a Json::Value:
void xxx_json_param(const char* _jsondata, const char* _savepath)
{
Json::Value root;
Json::Reader reader;
reader.parse((const std::string)_jsondata, root);
}
The text was updated successfully, but these errors were encountered: