Skip to content

Commit

Permalink
Merge pull request #33 from luxe/patch-1
Browse files Browse the repository at this point in the history
more descriptive documentation in example
  • Loading branch information
nlohmann committed Jan 26, 2015
2 parents b453cdb + 20d75a2 commit c4d7485
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c4d7485

Please sign in to comment.