Function c4::yml::emit_json(Tree const&, FILE *)

Function Documentation

inline size_t c4::yml::emit_json(Tree const &t, FILE *f = nullptr)

emit JSON to the given file. A null file defaults to stdout. Return the number of bytes written. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.