projects
/
platform
/
upstream
/
jsoncpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6065a1c
)
fix doc
author
Christopher Dunn
<cdunn2001@gmail.com>
Mon, 26 Jan 2015 17:04:03 +0000
(11:04 -0600)
committer
Christopher Dunn
<cdunn2001@gmail.com>
Mon, 26 Jan 2015 17:04:03 +0000
(11:04 -0600)
doc/jsoncpp.dox
patch
|
blob
|
history
diff --git
a/doc/jsoncpp.dox
b/doc/jsoncpp.dox
index
2dcdbff
..
fe06d50
100644
(file)
--- a/
doc/jsoncpp.dox
+++ b/
doc/jsoncpp.dox
@@
-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(