1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-31 10:24:23 +03:00

📝 add more API documentation

This commit is contained in:
Niels Lohmann
2020-08-13 14:04:08 +02:00
parent d360fec216
commit ce6adc447a
6 changed files with 97 additions and 3 deletions

View File

@ -0,0 +1,24 @@
# json_pointer
```cpp
template<typename BasicJsonType>
class json_pointer;
```
## Template parameters
`BasicJsonType`
: a specialization of [`basic_json`](basic_json/index.md)
## Member functions
- (constructor)
- **to_string** - return a string representation of the JSON pointer
- **operator std::string**- return a string representation of the JSON pointer
- **operator/=** - append to the end of the JSON pointer
- **operator/** - create JSON Pointer by appending
- **parent_pointer** - returns the parent of this JSON pointer
- **pop_back** - remove last reference token
- **back** - return last reference token
- **push_back** - append an unescaped token at the end of the pointer
- **empty** - return whether pointer points to the root document