#include <iostream> #include <string> int main() { std::string jsonStr = R"delimiter( { "name": "James", "nickname": "good boy" } )delimiter"; std::cout << jsonStr << std::endl; }
----------------
{ "name": "James", "nickname": "good boy" }
--------------------------------
标签:多行,文件,good,boy,James,C++,std,delimiter From: https://www.cnblogs.com/gispathfinder/p/17067594.html