json

 

原始字符串使用方法 R"( )",括号在引号里面

 

 string str11 = R"(
     {"params": {"type": "ZXHN E3630-0000","version": "V1.0.0.3B2.0000",},"jsonrpc": "2.0","id": "2","method": "PullUpgrade"}
     )";

 

 

nlohmann/json

posted @ 2022-07-04 18:31  cnchengv  阅读(11)  评论(0编辑  收藏  举报