Commit c4d74856 by Niels

Merge pull request #33 from luxe/patch-1

more descriptive documentation in example
parents b453cdb7 20d75a26
......@@ -147,6 +147,7 @@ You can also get a string representation (serialize):
std::string s = j.dump(); // {\"happy\":true,\"pi\":3.141}
// serialization with pretty printing
// pass in the amount of spaces to indent
std::cout << j.dump(4) << std::endl;
// {
// "happy": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment