📝 fix docs (#5217)

This commit is contained in:
Niels Lohmann
2026-06-29 22:15:18 +02:00
committed by GitHub
parent c37f82e563
commit c5b2b26fdc
93 changed files with 743 additions and 1209 deletions
@@ -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.