Skip to content
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

allow push_back() and pop_back() calls on json_pointer #1434

Merged
merged 1 commit into from
Jan 19, 2019

Commits on Jan 15, 2019

  1. allow push_back() and pop_back() calls on json_pointer

    Putting pop_back() to public and creating a trivial push_back()
    method allows users of nlohmann::json_pointer to manipulate an
    existing json-pointer by adding or removing keys at the end.
    
    This is useful for traversing a JSON-instance and keeping track
    of its "absolute path" at any moment.
    
    In my case for a schema-validator error-handler.
    pboettch committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    9225cf2 View commit details
    Browse the repository at this point in the history