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:
24
doc/mkdocs/docs/api/json_pointer.md
Normal file
24
doc/mkdocs/docs/api/json_pointer.md
Normal 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
|
Reference in New Issue
Block a user