输出的时候把\r和\n都输出来了,使用的是rapidjson来生成的JSON
StringBuffer buffer;
Writer<StringBuffer> log(buffer);
log.StartObject();
log.Key("msg");
log.String(Msg.c_str());
log.EndObject();
string Log = buffer.GetString();
cout << Log << endl;
system("pause");