提交 20d75a26 编写于 作者: T Trevor Hickey

more descriptive documentation in example

I wasn't sure what that parameter was at first glance
上级 b453cdb7
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册