You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please consider implementing Section 3 of RFC6901 which provides pointer syntax. This is VERY useful for modifying the JSON structures. For example, suppose I have a program that takes a JSON file, and JSON pointer, a new value, then writes the updated JSON to the file:
$> ./json_update stuff.json /hello/foo/7 world
The code is easy to implement the update like this:
Please consider implementing Section 3 of RFC6901 which provides pointer syntax. This is VERY useful for modifying the JSON structures. For example, suppose I have a program that takes a JSON file, and JSON pointer, a new value, then writes the updated JSON to the file:
$> ./json_update stuff.json /hello/foo/7 world
The code is easy to implement the update like this:
This is implemented nicely in the highly popular nlohmann::json C++ library:
see here
The text was updated successfully, but these errors were encountered: