MCPcopy Create free account
hub / github.com/Illumina/paragraph / writeString

Function writeString

external/jsoncpp/jsoncpp.cpp:5363–5368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5361}
5362
5363JSONCPP_STRING writeString(StreamWriter::Factory const& builder, Value const& root) {
5364 JSONCPP_OSTRINGSTREAM sout;
5365 StreamWriterPtr const writer(builder.newStreamWriter());
5366 writer->write(root, &sout);
5367 return sout.str();
5368}
5369
5370JSONCPP_OSTREAM& operator<<(JSONCPP_OSTREAM& sout, Value const& root) {
5371 StreamWriterBuilder builder;

Callers 2

writeJsonFunction · 0.85
toStyledStringMethod · 0.85

Calls 2

newStreamWriterMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected