mirror of
https://github.com/nlohmann/json.git
synced 2025-07-22 15:21:52 +03:00
started fixing #323
This commit is contained in:
@ -40,7 +40,7 @@ int main()
|
||||
// output the changed array
|
||||
std::cout << j["array"] << '\n';
|
||||
|
||||
// "change" the arry element past the end
|
||||
// "change" the array element past the end
|
||||
j["/array/-"_json_pointer] = 55;
|
||||
// output the changed array
|
||||
std::cout << j["array"] << '\n';
|
||||
|
Reference in New Issue
Block a user