With VS2015 IDE when I run below demo code to read json file, scan_string function return token_type::parse_error at line 2186.
{
ofstream out_json("C:\test.json");
json jsDefault = json();
jsDefault["name"] = "默认";
jsDefault["param"] = json();
json jsArray = json::array({ jsDefault });
json jsObj = json();
jsObj["select"] = "默认";
jsObj["items"] = jsArray;
out_json << std::setw(4) << jsObj;
out_json.close();
ifstream in_json("C:\\test.json");
json jsNewObj = json();
in_json >> jsNewObj;
}
With VS2015 IDE when I run below demo code to read json file, scan_string function return
token_type::parse_errorat line 2186.{
ofstream out_json("C:\test.json");