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

Function writeString

src/jsoncpp.cpp:5243–5248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

BSaveToFileMethod · 0.85

Calls 2

newStreamWriterMethod · 0.80
writeMethod · 0.80

Tested by

no test coverage detected