| 5240 | } |
| 5241 | |
| 5242 | std::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 | |
| 5249 | std::ostream& operator<<(std::ostream& sout, Value const& root) { |
| 5250 | StreamWriterBuilder builder; |
nothing calls this directly
no test coverage detected