Move old FastWriter stuff out of new Builder

This commit is contained in:
Christopher Dunn
2015-01-26 10:43:39 -06:00
parent 177b7b8f22
commit 28a20917b0
3 changed files with 6 additions and 67 deletions

View File

@@ -94,6 +94,9 @@ writer->write( root );
// If you like the defaults, you can insert directly into a stream.
std::cout << root;
// If desired, remember to add a linefeed and flush.
std::cout << std::endl;
// Of course, you can write to `std::ostringstream` if you prefer. Or
// use `writeString()` for convenience.
std::string document = Json::writeString( root, builder );