mirror of
https://github.com/nlohmann/json.git
synced 2026-10-03 22:06:59 +01:00
deploy: 63c10a51fc
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -10,6 +10,10 @@ Return the last reference token.
|
||||
|
||||
Last reference token.
|
||||
|
||||
## Exception safety
|
||||
|
||||
Strong exception safety: if an exception occurs, the original value stays intact.
|
||||
|
||||
## Exceptions
|
||||
|
||||
Throws [out_of_range.405](https://json.nlohmann.me/home/exceptions/#jsonexceptionout_of_range405) if the JSON pointer has no parent.
|
||||
@@ -49,6 +53,13 @@ last reference token of "/foo" is "foo"
|
||||
last reference token of "/foo/0" is "0"
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
- [front](https://json.nlohmann.me/api/json_pointer/front/index.md) return first reference token
|
||||
- [pop_back](https://json.nlohmann.me/api/json_pointer/pop_back/index.md) remove the last reference token
|
||||
- [push_back](https://json.nlohmann.me/api/json_pointer/push_back/index.md) append an unescaped token at the end of the pointer
|
||||
- [parent_pointer](https://json.nlohmann.me/api/json_pointer/parent_pointer/index.md) returns the parent of this JSON pointer
|
||||
|
||||
## Version history
|
||||
|
||||
- Added in version 3.6.0.
|
||||
|
||||
Reference in New Issue
Block a user