1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-31 10:24:23 +03:00

📝 make examples collapsible

This commit is contained in:
Niels Lohmann
2020-05-24 22:45:38 +02:00
parent ddf92606ab
commit 95a3c76643
14 changed files with 502 additions and 270 deletions

View File

@ -81,7 +81,7 @@ object | *see notes on optimized format* | map | `{`
different JSON object.
!!! example
??? example
```cpp
--8<-- "examples/to_ubjson.cpp"
@ -120,7 +120,7 @@ object | object (optimized values are supported) | `{`
The mapping is **complete** in the sense that any UBJSON value can be converted to a JSON value.
!!! example
??? example
```cpp
--8<-- "examples/from_ubjson.cpp"