MCPcopy Create free account
hub / github.com/SOUI2/soui / writeString

Function writeString

third-part/jsoncpp/src/lib_json/json_writer.cpp:1219–1224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1217}
1218
1219JSONCPP_STRING writeString(StreamWriter::Factory const& builder, Value const& root) {
1220 JSONCPP_OSTRINGSTREAM sout;
1221 StreamWriterPtr const writer(builder.newStreamWriter());
1222 writer->write(root, &sout);
1223 return sout.str();
1224}
1225
1226JSONCPP_OSTREAM& operator<<(JSONCPP_OSTREAM& sout, Value const& root) {
1227 StreamWriterBuilder builder;

Callers 4

Log4zStreamClass · 0.85
toStyledStringMethod · 0.85
JSONTEST_FIXTUREFunction · 0.85

Calls 2

newStreamWriterMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected