fix doc
authorChristopher Dunn <cdunn2001@gmail.com>
Mon, 26 Jan 2015 17:04:03 +0000 (11:04 -0600)
committerChristopher Dunn <cdunn2001@gmail.com>
Mon, 26 Jan 2015 17:04:03 +0000 (11:04 -0600)
doc/jsoncpp.dox

index 2dcdbff..fe06d50 100644 (file)
@@ -81,8 +81,8 @@ root["indent"]["use_space"] = getCurrentIndentUseSpace();
 
 // To write into a steam with minimal memory overhead,
 // create a Builder for a StreamWriter.
-Json::StreamWriter::Builder builder;
-builder.withIndentation("   ");  // or whatever you like
+Json::StreamWriterBuilder builder;
+builder.indentation_ = "   ";  // or whatever you like
 
 // Then build a StreamWriter.
 std::shared_ptr<Json::StreamWriter> writer(