We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6065a1c commit 472d29fCopy full SHA for 472d29f
doc/jsoncpp.dox
@@ -81,8 +81,8 @@ root["indent"]["use_space"] = getCurrentIndentUseSpace();
81
82
// To write into a steam with minimal memory overhead,
83
// create a Builder for a StreamWriter.
84
-Json::StreamWriter::Builder builder;
85
-builder.withIndentation(" "); // or whatever you like
+Json::StreamWriterBuilder builder;
+builder.indentation_ = " "; // or whatever you like
86
87
// Then build a StreamWriter.
88
std::shared_ptr<Json::StreamWriter> writer(
0 commit comments