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