MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / writeString

Function writeString

edrav2/eprj/jsoncpp/src/lib_json/json_writer.cpp:1247–1253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1245}
1246
1247JSONCPP_STRING writeString(StreamWriter::Factory const& factory,
1248 Value const& root) {
1249 JSONCPP_OSTRINGSTREAM sout;
1250 StreamWriterPtr const writer(factory.newStreamWriter());
1251 writer->write(root, &sout);
1252 return sout.str();
1253}
1254
1255JSONCPP_OSTREAM& operator<<(JSONCPP_OSTREAM& sout, Value const& root) {
1256 StreamWriterBuilder builder;

Callers 4

toStyledStringMethod · 0.85
JSONTEST_FIXTUREFunction · 0.85
saveToJsonFunction · 0.85

Calls 3

newStreamWriterMethod · 0.80
writeMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected