mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-14 09:57:56 +08:00
default \t indentation, All comments
This commit is contained in:
parent
dea6f8d9a6
commit
1e21e63853
@ -944,11 +944,17 @@ class StreamWriterBuilder {
|
||||
CommentStyle cs_;
|
||||
std::string indentation_;
|
||||
public:
|
||||
StreamWriterBuilder();
|
||||
virtual ~StreamWriterBuilder();
|
||||
virtual void setCommentStyle(CommentStyle cs);
|
||||
virtual void setIndentation(std::string indentation);
|
||||
virtual StreamWriter* newStreamWriter(std::ostream* sout) const;
|
||||
};
|
||||
StreamWriterBuilder::StreamWriterBuilder()
|
||||
: cs_(CommentStyle::All)
|
||||
, indentation_("\t")
|
||||
{
|
||||
}
|
||||
StreamWriterBuilder::~StreamWriterBuilder()
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user