-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add operator/= and operator/ to construct a JSON pointer by appending two JSON pointers #1469
Conversation
… two JSON pointers, as well as convenience op/= and op= to append a single unescaped token or array index; inspired by std::filesystem::path
FWIW: LGTM |
Very nice! |
Thanks. How would you feel about any or all of:
The fact that we have |
@nlohmann I have now added |
I think the reported Travis CI failures are not actually related to this PR, am I right? |
Thanks a lot, and thanks in particular for your patience! |
Add
operator/=
andoperator/
to construct a JSON pointer by appending two JSON pointers, as well as convenienceop/=
andop/
to append a single unescaped token or array index. Design inspired bystd::filesystem::path
, based on feedback on PR #1454.Pull request checklist
Read the Contribution Guidelines for detailed information.
include/nlohmann
directory, runmake amalgamate
to create the single-header filesingle_include/nlohmann/json.hpp
. The whole process is described here.