https://github.com/lesomnus/parser.json/tree/master/src
auto json = JSON::creat_object;
json["foo"] = "asdf;
json["terw"] =412;
json["bar"] = true;
auto json2 = JSON::crea_object;
json2[3] = json;
std::cout << json2.strigify() << std::endl;
auto json3 = JSON::parse("[1,2,3,4, true, [5,6,7, {"baz": false}]]");
std::cout << json3.stringify()
요런식으로 쓸 수 있어여 ^-^
댓글 0