This commit is contained in:
nlohmann
2026-10-27 12:14:00 +00:00
parent b36f8a9821
commit 11a863958e
1180 changed files with 14211 additions and 6025 deletions
+4 -4
View File
@@ -57,10 +57,10 @@ Constant.
## See also
- [front](front.md) return first reference token
- [pop_back](pop_back.md) remove the last reference token
- [push_back](push_back.md) append an unescaped token at the end of the pointer
- [parent_pointer](parent_pointer.md) returns the parent of this JSON pointer
- [`front`](front.md) - return first reference token
- [`pop_back`](pop_back.md) - remove the last reference token
- [`push_back`](push_back.md) - append an unescaped token at the end of the pointer
- [`parent_pointer`](parent_pointer.md) - returns the parent of this JSON pointer
## Version history
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -55,10 +55,10 @@ 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
- [`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
+3 -3
View File
@@ -60,9 +60,9 @@ Constant.
## See also
- [front](front.md) return first reference token
- [back](back.md) return last reference token
- [to_string](to_string.md) return a string representation of the JSON pointer
- [`front`](front.md) - return first reference token
- [`back`](back.md) - return last reference token
- [`to_string`](to_string.md) - return a string representation of the JSON pointer
## Version history
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -58,9 +58,9 @@ Output:
## See also
- [front](https://json.nlohmann.me/api/json_pointer/front/index.md) return first reference token
- [back](https://json.nlohmann.me/api/json_pointer/back/index.md) return last reference token
- [to_string](https://json.nlohmann.me/api/json_pointer/to_string/index.md) return a string representation of the JSON pointer
- [`front`](https://json.nlohmann.me/api/json_pointer/front/index.md) - return first reference token
- [`back`](https://json.nlohmann.me/api/json_pointer/back/index.md) - return last reference token
- [`to_string`](https://json.nlohmann.me/api/json_pointer/to_string/index.md) - return a string representation of the JSON pointer
## Version history
+3 -3
View File
@@ -57,9 +57,9 @@ Constant.
## See also
- [back](back.md) return last reference token
- [pop_front](pop_front.md) remove the first reference token
- [push_front](push_front.md) append an unescaped token at the start of the pointer
- [`back`](back.md) - return last reference token
- [`pop_front`](pop_front.md) - remove the first reference token
- [`push_front`](push_front.md) - append an unescaped token at the start of the pointer
## Version history
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -55,9 +55,9 @@ first reference token of "/foo/0" is "foo"
## See also
- [back](https://json.nlohmann.me/api/json_pointer/back/index.md) return last reference token
- [pop_front](https://json.nlohmann.me/api/json_pointer/pop_front/index.md) remove the first reference token
- [push_front](https://json.nlohmann.me/api/json_pointer/push_front/index.md) append an unescaped token at the start of the pointer
- [`back`](https://json.nlohmann.me/api/json_pointer/back/index.md) - return last reference token
- [`pop_front`](https://json.nlohmann.me/api/json_pointer/pop_front/index.md) - remove the first reference token
- [`push_front`](https://json.nlohmann.me/api/json_pointer/push_front/index.md) - append an unescaped token at the start of the pointer
## Version history
File diff suppressed because one or more lines are too long
+6 -2
View File
@@ -28,6 +28,8 @@ flowchart LR
parent["parent_pointer() returns /a/b"] -.-> B
```
Boxes are the reference tokens in order; dotted arrows show which token each member function reads, removes, or adds to.
The diagram shows the reference tokens of the JSON pointer `/a/b/c`.
## Member types
@@ -38,7 +40,7 @@ The diagram shows the reference tokens of the JSON pointer `/a/b/c`.
- [(constructor)](https://json.nlohmann.me/api/json_pointer/json_pointer/index.md)
- [**to_string**](https://json.nlohmann.me/api/json_pointer/to_string/index.md) - return a string representation of the JSON pointer
- [**operator string_t**](https://json.nlohmann.me/api/json_pointer/operator_string_t/index.md) - return a string representation of the JSON pointer (deprecated)
- [`operator string_t`](https://json.nlohmann.me/api/json_pointer/operator_string_t/index.md) - return a string representation of the JSON pointer (deprecated)
- [**operator==**](https://json.nlohmann.me/api/json_pointer/operator_eq/index.md) - compare: equal
- [**operator!=**](https://json.nlohmann.me/api/json_pointer/operator_ne/index.md) - compare: not equal
- [**operator\<=>**](https://json.nlohmann.me/api/json_pointer/operator_spaceship/index.md) - compare: 3-way (C++20)
@@ -59,7 +61,9 @@ The diagram shows the reference tokens of the JSON pointer `/a/b/c`.
## See also
- [RFC 6901](https://datatracker.ietf.org/doc/html/rfc6901)
- [RFC 6901](https://datatracker.ietf.org/doc/html/rfc6901) - specification of JSON Pointer
- [JSON Pointer](https://json.nlohmann.me/features/json_pointer/index.md) - the article on JSON Pointer support
- [JSON Patch and Diff](https://json.nlohmann.me/features/json_patch/index.md) - patch paths are JSON pointers
## Version history
+1 -1
View File
@@ -96,7 +96,7 @@ Linear in the length of `s`.
## See also
- [JSON Pointer](../../features/json_pointer.md) - the article on JSON Pointer support
- [operator""_json_pointer](../operator_literal_json_pointer.md) user-defined string literal for JSON pointers
- [`operator""_json_pointer`](../operator_literal_json_pointer.md) - user-defined string literal for JSON pointers
## Version history
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -90,7 +90,7 @@ Output:
## See also
- [JSON Pointer](https://json.nlohmann.me/features/json_pointer/index.md) - the article on JSON Pointer support
- [operator""\_json_pointer](https://json.nlohmann.me/api/operator_literal_json_pointer/index.md) user-defined string literal for JSON pointers
- [`operator""_json_pointer`](https://json.nlohmann.me/api/operator_literal_json_pointer/index.md) - user-defined string literal for JSON pointers
## Version history
+2 -2
View File
@@ -169,8 +169,8 @@ tokens.
## See also
- [operator!=](operator_ne.md) compare for inequality
- [operator<=>](operator_spaceship.md) comparison: 3-way (C++20)
- [`operator!=`](operator_ne.md) - compare for inequality
- [`operator<=>`](operator_spaceship.md) - comparison: 3-way (C++20)
## Version history
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -156,8 +156,8 @@ Output:
## See also
- [operator!=](https://json.nlohmann.me/api/json_pointer/operator_ne/index.md) compare for inequality
- [operator\<=>](https://json.nlohmann.me/api/json_pointer/operator_spaceship/index.md) comparison: 3-way (C++20)
- [`operator!=`](https://json.nlohmann.me/api/json_pointer/operator_ne/index.md) - compare for inequality
- [`operator<=>`](https://json.nlohmann.me/api/json_pointer/operator_spaceship/index.md) - comparison: 3-way (C++20)
## Version history
+2 -2
View File
@@ -166,8 +166,8 @@ tokens.
## See also
- [operator==](operator_eq.md) compare for equality
- [operator<=>](operator_spaceship.md) comparison: 3-way (C++20)
- [`operator==`](operator_eq.md) - compare for equality
- [`operator<=>`](operator_spaceship.md) - comparison: 3-way (C++20)
## Version history
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -152,8 +152,8 @@ Output:
## See also
- [operator==](https://json.nlohmann.me/api/json_pointer/operator_eq/index.md) compare for equality
- [operator\<=>](https://json.nlohmann.me/api/json_pointer/operator_spaceship/index.md) comparison: 3-way (C++20)
- [`operator==`](https://json.nlohmann.me/api/json_pointer/operator_eq/index.md) - compare for equality
- [`operator<=>`](https://json.nlohmann.me/api/json_pointer/operator_spaceship/index.md) - comparison: 3-way (C++20)
## Version history
+3 -2
View File
@@ -86,8 +86,9 @@ a new JSON pointer is built from a copy of `lhs`.
## See also
- [operator/=](operator_slasheq.md) append to the end of the JSON pointer
- [push_back](push_back.md) append an unescaped token at the end of the pointer
- [`operator/=`](operator_slasheq.md) - append to the end of the JSON pointer
- [`push_back`](push_back.md) - append an unescaped token at the end of the pointer
- [JSON Pointer](../../features/json_pointer.md) - the article on JSON Pointer support
## Version history
File diff suppressed because one or more lines are too long
+3 -2
View File
@@ -79,8 +79,9 @@ Output:
## See also
- [operator/=](https://json.nlohmann.me/api/json_pointer/operator_slasheq/index.md) append to the end of the JSON pointer
- [push_back](https://json.nlohmann.me/api/json_pointer/push_back/index.md) append an unescaped token at the end of the pointer
- [`operator/=`](https://json.nlohmann.me/api/json_pointer/operator_slasheq/index.md) - append to the end of the JSON pointer
- [`push_back`](https://json.nlohmann.me/api/json_pointer/push_back/index.md) - append an unescaped token at the end of the pointer
- [JSON Pointer](https://json.nlohmann.me/features/json_pointer/index.md) - the article on JSON Pointer support
## Version history
+3 -2
View File
@@ -90,8 +90,9 @@ json_pointer& operator/=(std::size_t array_idx)
## See also
- [operator/](operator_slash.md) create JSON Pointer by appending
- [push_back](push_back.md) append an unescaped token at the end of the pointer
- [`operator/`](operator_slash.md) - create JSON Pointer by appending
- [`push_back`](push_back.md) - append an unescaped token at the end of the pointer
- [JSON Pointer](../../features/json_pointer.md) - the article on JSON Pointer support
## Version history
File diff suppressed because one or more lines are too long
+3 -2
View File
@@ -84,8 +84,9 @@ Output:
## See also
- [operator/](https://json.nlohmann.me/api/json_pointer/operator_slash/index.md) create JSON Pointer by appending
- [push_back](https://json.nlohmann.me/api/json_pointer/push_back/index.md) append an unescaped token at the end of the pointer
- [`operator/`](https://json.nlohmann.me/api/json_pointer/operator_slash/index.md) - create JSON Pointer by appending
- [`push_back`](https://json.nlohmann.me/api/json_pointer/push_back/index.md) - append an unescaped token at the end of the pointer
- [JSON Pointer](https://json.nlohmann.me/features/json_pointer/index.md) - the article on JSON Pointer support
## Version history
+2 -2
View File
@@ -99,8 +99,8 @@ Linear in the number of reference tokens.
## See also
- [operator==](operator_eq.md) compare: equal
- [operator!=](operator_ne.md) compare: not equal
- [`operator==`](operator_eq.md) - compare: equal
- [`operator!=`](operator_ne.md) - compare: not equal
## Version history
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -89,8 +89,8 @@ Output:
## See also
- [operator==](https://json.nlohmann.me/api/json_pointer/operator_eq/index.md) compare: equal
- [operator!=](https://json.nlohmann.me/api/json_pointer/operator_ne/index.md) compare: not equal
- [`operator==`](https://json.nlohmann.me/api/json_pointer/operator_eq/index.md) - compare: equal
- [`operator!=`](https://json.nlohmann.me/api/json_pointer/operator_ne/index.md) - compare: not equal
## Version history
+2 -2
View File
@@ -67,8 +67,8 @@ operator string_t() const
## See also
- [to_string](to_string.md) return a string representation of the JSON pointer
- [string_t](../basic_json/string_t.md) - type for strings
- [`to_string`](to_string.md) - return a string representation of the JSON pointer
- [`string_t`](../basic_json/string_t.md) - type for strings
## Version history
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -64,8 +64,8 @@ Output:
## See also
- [to_string](https://json.nlohmann.me/api/json_pointer/to_string/index.md) return a string representation of the JSON pointer
- [string_t](https://json.nlohmann.me/api/basic_json/string_t/index.md) - type for strings
- [`to_string`](https://json.nlohmann.me/api/json_pointer/to_string/index.md) - return a string representation of the JSON pointer
- [`string_t`](https://json.nlohmann.me/api/basic_json/string_t/index.md) - type for strings
## Version history
+2 -2
View File
@@ -58,8 +58,8 @@ Linear in the length of the JSON pointer.
## See also
- [pop_back](pop_back.md) remove the last reference token
- [back](back.md) return the last reference token
- [`pop_back`](pop_back.md) - remove the last reference token
- [`back`](back.md) - return the last reference token
## Version history
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -55,8 +55,8 @@ parent of "/foo/0" is "/foo"
## See also
- [pop_back](https://json.nlohmann.me/api/json_pointer/pop_back/index.md) remove the last reference token
- [back](https://json.nlohmann.me/api/json_pointer/back/index.md) return the last reference token
- [`pop_back`](https://json.nlohmann.me/api/json_pointer/pop_back/index.md) - remove the last reference token
- [`back`](https://json.nlohmann.me/api/json_pointer/back/index.md) - return the last reference token
## Version history
+3 -3
View File
@@ -61,9 +61,9 @@ Constant.
## See also
- [back](back.md) return last reference token
- [push_back](push_back.md) append an unescaped token at the end of the pointer
- [parent_pointer](parent_pointer.md) returns the parent of this JSON pointer
- [`back`](back.md) - return last reference token
- [`push_back`](push_back.md) - append an unescaped token at the end of the pointer
- [`parent_pointer`](parent_pointer.md) - returns the parent of this JSON pointer
## Version history
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -59,9 +59,9 @@ Output:
## See also
- [back](https://json.nlohmann.me/api/json_pointer/back/index.md) return 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
- [`back`](https://json.nlohmann.me/api/json_pointer/back/index.md) - return 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
+2 -2
View File
@@ -61,8 +61,8 @@ Linear in the number of reference tokens in the `json_pointer`.
## See also
- [front](front.md) return first reference token
- [push_front](push_front.md) append an unescaped token at the start of the pointer
- [`front`](front.md) - return first reference token
- [`push_front`](push_front.md) - append an unescaped token at the start of the pointer
## Version history
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -59,8 +59,8 @@ Output:
## See also
- [front](https://json.nlohmann.me/api/json_pointer/front/index.md) return first reference token
- [push_front](https://json.nlohmann.me/api/json_pointer/push_front/index.md) append an unescaped token at the start of the pointer
- [`front`](https://json.nlohmann.me/api/json_pointer/front/index.md) - return first reference token
- [`push_front`](https://json.nlohmann.me/api/json_pointer/push_front/index.md) - append an unescaped token at the start of the pointer
## Version history
+4 -4
View File
@@ -64,10 +64,10 @@ Amortized constant.
## See also
- [back](back.md) return last reference token
- [pop_back](pop_back.md) remove the last reference token
- [operator/=](operator_slasheq.md) append to the end of the JSON pointer
- [operator/](operator_slash.md) create JSON Pointer by appending
- [`back`](back.md) - return last reference token
- [`pop_back`](pop_back.md) - remove the last reference token
- [`operator/=`](operator_slasheq.md) - append to the end of the JSON pointer
- [`operator/`](operator_slash.md) - create JSON Pointer by appending
## Version history
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -61,10 +61,10 @@ Output:
## 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
- [`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
+2 -2
View File
@@ -65,8 +65,8 @@ Linear in the number of reference tokens in the `json_pointer`.
## See also
- [front](front.md) return first reference token
- [pop_front](pop_front.md) remove the first reference token
- [`front`](front.md) - return first reference token
- [`pop_front`](pop_front.md) - remove the first reference token
## Version history
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -61,8 +61,8 @@ Output:
## See also
- [front](https://json.nlohmann.me/api/json_pointer/front/index.md) return first reference token
- [pop_front](https://json.nlohmann.me/api/json_pointer/pop_front/index.md) remove the first reference token
- [`front`](https://json.nlohmann.me/api/json_pointer/front/index.md) - return first reference token
- [`pop_front`](https://json.nlohmann.me/api/json_pointer/pop_front/index.md) - remove the first reference token
## Version history
+2 -2
View File
@@ -40,8 +40,8 @@ See [`basic_json::string_t`](../basic_json/string_t.md) for more information.
## See also
- [basic_json::string_t](../basic_json/string_t.md) type used to store JSON strings
- [to_string](to_string.md) return a string representation of the JSON pointer
- [`basic_json::string_t`](../basic_json/string_t.md) - type used to store JSON strings
- [`to_string`](to_string.md) - return a string representation of the JSON pointer
## Version history
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -39,8 +39,8 @@ true
## See also
- [basic_json::string_t](https://json.nlohmann.me/api/basic_json/string_t/index.md) type used to store JSON strings
- [to_string](https://json.nlohmann.me/api/json_pointer/to_string/index.md) return a string representation of the JSON pointer
- [`basic_json::string_t`](https://json.nlohmann.me/api/basic_json/string_t/index.md) - type used to store JSON strings
- [`to_string`](https://json.nlohmann.me/api/json_pointer/to_string/index.md) - return a string representation of the JSON pointer
## Version history
+2 -2
View File
@@ -90,8 +90,8 @@ ptr == json_pointer(ptr.to_string());
## See also
- [operator string_t](operator_string_t.md) return a string representation of the JSON pointer (deprecated)
- [operator<<](../operator_ltlt.md) write a JSON pointer to a stream
- [`operator string_t`](operator_string_t.md) - return a string representation of the JSON pointer (deprecated)
- [`operator<<`](../operator_ltlt.md) - write a JSON pointer to a stream
## Version history
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -88,8 +88,8 @@ Output:
## See also
- [operator string_t](https://json.nlohmann.me/api/json_pointer/operator_string_t/index.md) return a string representation of the JSON pointer (deprecated)
- [operator\<<](https://json.nlohmann.me/api/operator_ltlt/index.md) write a JSON pointer to a stream
- [`operator string_t`](https://json.nlohmann.me/api/json_pointer/operator_string_t/index.md) - return a string representation of the JSON pointer (deprecated)
- [`operator<<`](https://json.nlohmann.me/api/operator_ltlt/index.md) - write a JSON pointer to a stream
## Version history