MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / writeString

Function writeString

Sources/Dependencies/jsoncpp/writer.cpp:719–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717 }
718
719 StringContainer writeString(StreamWriter::Factory const& factory, Value const& root) {
720 OStringStream sout;
721 StreamWriterPtr const writer(factory.newStreamWriter());
722 writer->write(root, &sout);
723 return std::move(sout).str();
724 }
725
726 OStream& operator<<(OStream& sout, Value const& root) {
727 StreamWriterBuilder builder;

Callers 1

toStyledStringMethod · 0.85

Calls 2

newStreamWriterMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected