This is the JSON generator implemented as a C extension. It can be configured to be used by setting
JSON.generator = JSON::Ext::Generator
with the method generator= in JSON.
to_json(state = nil) Instance Public methods Returns a
array_nl=(array_nl) Instance Public methods This string is put at the end of
space() Instance Public methods This string is used to insert a space between
object_nl() Instance Public methods This string is put at the end of a line
space_before() Instance Public methods This string is used to insert a space
to_json(*) Instance Public methods Returns a
to_json_raw_object() Instance Public methods This method creates a raw object
to_json(*) Instance Public methods This string should be encoded with UTF-8
max_nesting Instance Public methods This integer returns the maximum level
indent() Instance Public methods This string is used to indent levels in the
Page 3 of 5