This commit is contained in:
nlohmann
2026-10-03 05:43:12 +00:00
parent 2aaa1d24ef
commit a410b4f40f
741 changed files with 8115 additions and 2252 deletions
+11
View File
@@ -12,6 +12,10 @@ Append an unescaped token at the end of the reference pointer.
`token` (in) : token to add
## Exception safety
Strong exception safety: if an exception occurs, the original value stays intact.
## Complexity
Amortized constant.
@@ -55,6 +59,13 @@ Output:
"/foo/0/bar"
```
## See also
- [back](https://json.nlohmann.me/api/json_pointer/back/index.md) return last reference token
- [pop_back](https://json.nlohmann.me/api/json_pointer/pop_back/index.md) remove the last reference token
- [operator/=](https://json.nlohmann.me/api/json_pointer/operator_slasheq/index.md) append to the end of the JSON pointer
- [operator/](https://json.nlohmann.me/api/json_pointer/operator_slash/index.md) create JSON Pointer by appending
## Version history
- Added in version 3.6.0.