mirror of
https://github.com/nlohmann/json.git
synced 2026-10-22 14:08:13 +00:00
updated README
This commit is contained in:
1 parent
33f5236687
commit
2443aa6521
1 file changed
+5
-1
@@ -119,7 +119,11 @@ auto j2 = R"(
|
|||||||
{
|
{
|
||||||
"happy": true,
|
"happy": true,
|
||||||
"pi": 3.141
|
"pi": 3.141
|
||||||
})"_json;
|
}
|
||||||
|
)"_json;
|
||||||
|
|
||||||
|
// or explicitly
|
||||||
|
auto j3 = json::parse("{ \"happy\": true, \"pi\": 3.141 }");
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also get a string representation (serialize):
|
You can also get a string representation (serialize):
|
||||||
|
|||||||
Reference in new issue
Block a user