MCPcopy Create free account
hub / github.com/ValveSoftware/Proton / writeString

Function writeString

vrclient_x64/jsoncpp.cpp:5242–5247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5240}
5241
5242std::string writeString(StreamWriter::Factory const& builder, Value const& root) {
5243 std::ostringstream sout;
5244 StreamWriterPtr const writer(builder.newStreamWriter());
5245 writer->write(root, &sout);
5246 return sout.str();
5247}
5248
5249std::ostream& operator<<(std::ostream& sout, Value const& root) {
5250 StreamWriterBuilder builder;

Callers

nothing calls this directly

Calls 2

newStreamWriterMethod · 0.80
writeMethod · 0.80

Tested by

no test coverage detected