This is the JSON generator implemented as a C extension. It can be configured to be used by setting
JSON
.generator =
::Ext::Generator
with the method generator= in JSON.
space_before() Instance Public methods This string is used to insert a space
to_json(*) Instance Public methods Returns a
object_nl() Instance Public methods This string is put at the end of a line
check_circular? Instance Public methods Returns true, if circular data structures
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
max_nesting Instance Public methods This integer returns the maximum level
to_json(*) Instance Public methods This string should be encoded with UTF-8
to_json_raw_object() Instance Public methods This method creates a raw object
to_hash() Instance Public methods Alias for:
Page 3 of 5