在调试的过程中,Json是不能像结构体那样直接看值得,只能通过打印
如下:
Json::Value cos;
Json::FastWriter writer;
string str = writer.write(cos);
TRACE("strCos= %s", str.c_str());
在调试的过程中,Json是不能像结构体那样直接看值得,只能通过打印
如下:
Json::Value cos;
Json::FastWriter writer;
string str = writer.write(cos);
TRACE("strCos= %s", str.c_str());