class

CAJ::Builder

Inherits JSON::Builder < Reference < Object

Constructors

new(io : IO, case _convention = CAJ.default_convention)
Source

Instance methods

convention
Source
convention=(convention : Cases)
Source
field(name, value)
Source
field(name, &)

Writes an object's field and then invokes the block. This is equivalent of invoking string(value) and then invoking the block.

Source
format_key(key)
Source