Function c4::yml::emit_json(Tree const&, substr, bool)
Defined in File rapidyaml-0.5.0.hpp
Function Documentation
-
inline substr c4::yml::emit_json(Tree const &t, substr buf, bool error_on_excess = true)
emit JSON to the given buffer. Return a substr trimmed to the emitted JSON.
- Parameters:
error_on_excess – Raise an error if the space in the buffer is insufficient. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.