MCPcopy Create free account
hub / github.com/Samsung/UTopia / writeString

Function writeString

external/jsoncpp/jsoncpp.cpp:5304–5309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5302}
5303
5304String writeString(StreamWriter::Factory const &factory, Value const &root) {
5305 OStringStream sout;
5306 StreamWriterPtr const writer(factory.newStreamWriter());
5307 writer->write(root, &sout);
5308 return sout.str();
5309}
5310
5311OStream &operator<<(OStream &sout, Value const &root) {
5312 StreamWriterBuilder builder;

Callers 4

saveReportMethod · 0.85
dumpMethod · 0.85
dumpMethod · 0.85
toStyledStringMethod · 0.85

Calls 2

newStreamWriterMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected