Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Jan 9, 2015
1 parent 33f5236 commit 2443aa6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ auto j2 = R"(
{
"happy": true,
"pi": 3.141
})"_json;
}
)"_json;

// or explicitly
auto j3 = json::parse("{ \"happy\": true, \"pi\": 3.141 }");
```

You can also get a string representation (serialize):
Expand Down

0 comments on commit 2443aa6

Please sign in to comment.