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.
indent=(indent) Instance Public methods This string is used to indent levels
quirks_mode? Instance Public methods Returns true, if quirks mode is enabled
space=(space) Instance Public methods This string is used to insert a space
to_h Instance Public methods Returns the configuration instance variables as
new(opts = {}) Class Public methods Instantiates a new
allow_nan? Instance Public methods Returns true, if NaN, Infinity, and -Infinity
merge(p1) Instance Public methods Alias for:
[]=(name, value) Instance Public methods
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
Page 2 of 5