mirror of
https://github.com/nlohmann/json.git
synced 2026-10-05 22:20:30 +00:00
📝 fix docs (#5217)
This commit is contained in:
@@ -35,3 +35,5 @@ Constant.
|
||||
```
|
||||
|
||||
## Version history
|
||||
|
||||
- Added in version 3.12.x.
|
||||
|
||||
@@ -10,6 +10,10 @@ Returns the parent of this JSON pointer.
|
||||
|
||||
Parent of this JSON pointer; in case this JSON pointer is the root, the root itself is returned.
|
||||
|
||||
## Exception safety
|
||||
|
||||
No-throw guarantee: this function never throws exceptions.
|
||||
|
||||
## Complexity
|
||||
|
||||
Linear in the length of the JSON pointer.
|
||||
@@ -30,6 +34,11 @@ Linear in the length of the JSON pointer.
|
||||
--8<-- "examples/json_pointer__parent_pointer.output"
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
- [pop_back](pop_back.md) remove the last reference token
|
||||
- [back](back.md) return the last reference token
|
||||
|
||||
## Version history
|
||||
|
||||
Added in version 3.6.0.
|
||||
|
||||
@@ -31,3 +31,5 @@ Linear in the number of reference tokens in the `json_pointer`.
|
||||
```
|
||||
|
||||
## Version history
|
||||
|
||||
- Added in version 3.12.x.
|
||||
|
||||
@@ -34,3 +34,5 @@ Linear in the number of reference tokens in the `json_pointer`.
|
||||
```
|
||||
|
||||
## Version history
|
||||
|
||||
- Added in version 3.12.x.
|
||||
|
||||
Reference in New Issue
Block a user