mirror of
https://github.com/nlohmann/json.git
synced 2026-02-12 00:32:26 +00:00
As <iostream> is not included in json.hpp any more, all code examples need to include <iostream> now.
{
"answer": {
"everything": 42
},
"happy": true,
"list": [
1,
0,
2
],
"name": "Niels",
"new": {
"key": {
"value": [
"another",
"list"
]
}
},
"nothing": null,
"object": {
"currency": "USD",
"value": 42.99
},
"pi": 3.141,
"size": 8
}