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
@@ -317,6 +317,8 @@ basic_json(basic_json&& other) noexcept;
--8<-- "examples/basic_json__CompatibleType.output"
```
Note the output is platform-dependent.
??? example "Example: (5) create a container (array or object) from an initializer list"
The example below shows how JSON values are created from initializer lists.