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. |
||
|---|---|---|
| .. | ||
| conversions | ||
| input | ||
| iterators | ||
| meta | ||
| output | ||
| exceptions.hpp | ||
| json_pointer.hpp | ||
| json_ref.hpp | ||
| macro_scope.hpp | ||
| macro_unscope.hpp | ||
| value_t.hpp | ||