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
File diff suppressed because one or more lines are too long
+7
View File
@@ -63,6 +63,8 @@ Deprecation
Overload 2 is deprecated and will be removed in a future major version release.
See the [migration guide](https://json.nlohmann.me/integration/migration_guide/#json-pointers) for how to update existing code.
## Examples
Example: (1) Comparing JSON pointers
@@ -148,6 +150,11 @@ Output:
"bar" != "/foo": [json.exception.parse_error.107] parse error at byte 1: JSON pointer must be empty or begin with '/' - was: 'bar'
```
## 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)
## Version history
1. Added in version 2.1.0.