MCPcopy Create free account
hub / github.com/PlayFab/gsdk / writeString

Function writeString

cpp/cppsdk/jsoncpp.cpp:5420–5426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5418}
5419
5420JSONCPP_STRING writeString(StreamWriter::Factory const& factory,
5421 Value const& root) {
5422 JSONCPP_OSTRINGSTREAM sout;
5423 StreamWriterPtr const writer(factory.newStreamWriter());
5424 writer->write(root, &sout);
5425 return sout.str();
5426}
5427
5428JSONCPP_OSTREAM& operator<<(JSONCPP_OSTREAM& sout, Value const& root) {
5429 StreamWriterBuilder builder;

Callers 1

toStyledStringMethod · 0.85

Calls 2

newStreamWriterMethod · 0.80
writeMethod · 0.80

Tested by

no test coverage detected