MCPcopy Create free account
hub / github.com/SICKAG/sick_scan_xd / writeString

Function writeString

test/docker/jsoncpp/src/lib_json/json_writer.cpp:1245–1250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243}
1244
1245String writeString(StreamWriter::Factory const& factory, Value const& root) {
1246 OStringStream sout;
1247 StreamWriterPtr const writer(factory.newStreamWriter());
1248 writer->write(root, &sout);
1249 return sout.str();
1250}
1251
1252OStream& operator<<(OStream& sout, Value const& root) {
1253 StreamWriterBuilder builder;

Callers 1

toStyledStringMethod · 0.85

Calls 2

newStreamWriterMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected