![]() |
Spicy
|
#include <printer-json.h>
Public Member Functions | |
JSONPrinter (std::ostream &output, OutputOptions options) | |
void | print (const hilti::rt::type_info::Value &v) |
Render parsed unit into JSON representation.
|
inline |
Constructor.
output | stream to send output to |
options | output controlling specifics of the output |
void JSONPrinter::print | ( | const hilti::rt::type_info::Value & | v | ) |
Render one parsed value into JSON.
v | value representing parsed unit to render |