Skip to content

Commit

Permalink
more descriptive documentation in example
Browse files Browse the repository at this point in the history
I wasn't sure what that parameter was at first glance
  • Loading branch information
luxe committed Jan 26, 2015
1 parent b453cdb commit 20d75a2
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 20d75a2

Please sign in to comment.