ToJsonVisitor

extern (C++) final
class ToJsonVisitor : Visitor {
OutBuffer* buf;
int indentLevel;
const(char)* filename;
}

Members

Functions

item
void item(const(char)* s)

Item is an intented value and a comma, for use in arrays

value
void value(const(char)* s)

Encode string into buf, and wrap it in double quotes.

Meta