MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / writeString

Function writeString

Source/JSON/jsoncpp.cpp:4808–4813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4806}
4807
4808std::string writeString(StreamWriter::Factory const& builder, Value const& root) {
4809 std::ostringstream sout;
4810 StreamWriterPtr const writer(builder.newStreamWriter());
4811 writer->write(root, &sout);
4812 return sout.str();
4813}
4814
4815std::ostream& operator<<(std::ostream& sout, Value const& root) {
4816 StreamWriterBuilder builder;

Callers

nothing calls this directly

Calls 3

newStreamWriterMethod · 0.45
writeMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected