@@ -103,6 +103,22 @@ std::string errs;
103103bool ok = Json::parseFromStream(rbuilder, std::cin, &root, &errs);
104104\endcode
105105
106+ Yes, compile-time configuration-checking would be helpful,
107+ but `Json::Value` lets you
108+ write and read the builder configuration, which is better! In other words,
109+ you can configure your JSON parser using JSON.
110+
111+ CharReaders and StreamWriters are not thread-safe, but they are re-usable.
112+ \code
113+ Json::CharReaderBuilder rbuilder;
114+ cfg >> rbuilder.settings_;
115+ std::unique_ptr<Json::CharReader> const reader(rbuilder.newCharReader());
116+ reader->parse(start, stop, &value1, &errs);
117+ // ...
118+ reader->parse(start, stop, &value2, &errs);
119+ // etc.
120+ \endcode
121+
106122\section _pbuild Build instructions
107123The build instructions are located in the file
108124<a HREF="https://github.com/open-source-parsers/jsoncpp/blob/master/README.md">README.md</a> in the top-directory of the project.
@@ -137,5 +153,7 @@ and recognized in your jurisdiction.
137153
138154\author Baptiste Lepilleur <blep@users.sourceforge.net> (originator)
139155\version \include version
156+ We make strong guarantees about binary-compatibility, consistent with
157+ <a href="http://apr.apache.org/versioning.html">the Apache versioning scheme</a>.
140158\sa version.h
141159*/
0 commit comments