MCPcopy Create free account
hub / github.com/Tracktion/choc / writeAsJSON

Function writeAsJSON

choc/text/choc_JSON.h:281–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280template <typename Stream>
281void writeAsJSON (Stream& output, const value::ValueView& value, bool useMultipleLines)
282{
283 Writer<Stream> { output, useMultipleLines ? 2u : 0u }.dump (value);
284}
285
286inline std::string toString (const value::ValueView& v, bool useLineBreaks)
287{

Callers 1

toStringFunction · 0.85

Calls 1

dumpMethod · 0.80

Tested by

no test coverage detected