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.
quirks_mode? Instance Public methods Returns true, if quirks mode is enabled
max_nesting Instance Public methods This integer returns the maximum level
to_json(*) Instance Public methods This string should be encoded with UTF-8
json_create(o) Instance Public methods Raw Strings are
to_json(*) Instance Public methods Converts this object to a string (calling
to_json_raw(*args) Instance Public methods This method creates a
depth Instance Public methods This integer returns the current depth of data
[](name) Instance Public methods Return the value returned by method name
generate(obj) Instance Public methods Generates a valid
to_json(*) Instance Public methods Returns a
Page 4 of 5