MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / writeString

Function writeString

src/share/jsoncpp/jsoncpp.cpp:5288–5293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5286}
5287
5288JSONCPP_STRING writeString(StreamWriter::Factory const& builder, Value const& root) {
5289 JSONCPP_OSTRINGSTREAM sout;
5290 StreamWriterPtr const writer(builder.newStreamWriter());
5291 writer->write(root, &sout);
5292 return sout.str();
5293}
5294
5295JSONCPP_OSTREAM& operator<<(JSONCPP_OSTREAM& sout, Value const& root) {
5296 StreamWriterBuilder builder;

Callers 1

Calls 2

newStreamWriterMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected