Adjust JSON Pointer examples (#3622)

* 📡 adjust JSON Pointer examples

* 👷 add test for documentation

* 📡 note platform-dependent output on some examples
This commit is contained in:
Niels Lohmann
2022-07-29 14:28:37 +02:00
committed by GitHub
parent 6576c3f776
commit d1d79b930d
18 changed files with 86 additions and 56 deletions
+3 -2
View File
@@ -32,8 +32,7 @@ Constant.
??? example
The following code shows an example output of the `meta()`
function.
The following code shows an example output of the `meta()` function.
```cpp
--8<-- "examples/meta.cpp"
@@ -45,6 +44,8 @@ Constant.
--8<-- "examples/meta.output"
```
Note the output is platform-dependent.
## See also
- [**NLOHMANN_JSON_VERSION_MAJOR**/**NLOHMANN_JSON_VERSION_MINOR**/**NLOHMANN_JSON_VERSION_PATCH**](../macros/nlohmann_json_version_major.md) - library version information