mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 18:51:04 +08:00
fix comment
This commit is contained in:
parent
d49ab5aee1
commit
77ce057f14
@ -33,8 +33,10 @@ Usage:
|
||||
StreamWriterBuilderFactory f;
|
||||
StreamWriter::Builder builder(&f);
|
||||
builder.setCommentStyle(StreamWriter::CommentStyle::None);
|
||||
std::shared_ptr<StreamWriter> writer(builder.newStreamWriter(&std::cout));
|
||||
writer.write(value);
|
||||
std::shared_ptr<StreamWriter> writer(
|
||||
builder.newStreamWriter(&std::cout));
|
||||
writer->write(value);
|
||||
std::cout.flush();
|
||||
*/
|
||||
class JSON_API StreamWriterBuilderFactory {
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user