Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Array arr_val = {42, 4.2, true, "42"s, Array{}};
- auto arr_json = "[42, 4.2, true, \"42\", []]"s;
- auto arr_json_minify = "[42,4.2,true,\"42\",[]]"s;
- Dict dict_val = {{"42"s, 42}, {"4.2"s, 4.2}, {"true"s, true}, {"string"s, "string"s}, {"[]"s, Array{}}};
- auto dict_json = "{\"42\": 42, \"4.2\": 4.2, \"true\": true, \"string\": \"string\", \"[]\": []}"s;
- auto dict_json_minify = "{\"42\":42,\"4.2\":4.2,\"true\":true,\"string\":\"string\",\"[]\":[]}"s;
- LoadJSON(arr_json_minify).GetRoot() == arr_val ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement