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.
buffer_initial_length Instance Public methods This integer returns the current
indent=(indent) Instance Public methods This string is used to indent levels
array_nl() Instance Public methods This string is put at the end of a line
to_h Instance Public methods Returns the configuration instance variables as
allow_nan? Instance Public methods Returns true, if NaN, Infinity, and -Infinity
merge(p1) Instance Public methods Alias for:
new(opts = {}) Class Public methods Instantiates a new
[]=(name, value) Instance Public methods
to_json(state = nil) Instance Public methods Returns a
Page 2 of 5