Type:
Module

This is the JSON generator implemented as a C extension. It can be configured to be used by setting

1
JSON.generator = JSON::Ext::Generator

with the method generator= in JSON.

to_json
  • References/Ruby on Rails/Ruby/Classes/JSON/JSON::Ext/JSON::Ext::Generator/JSON::Ext::Generator::GeneratorMethods/JSON::Ext::Generator::GeneratorMethods::Object

to_json(*) Instance Public methods Converts this object to a string (calling

2025-01-10 15:47:30
depth=
  • References/Ruby on Rails/Ruby/Classes/JSON/JSON::Ext/JSON::Ext::Generator/JSON::Ext::Generator::State

depth=(depth) Instance Public methods This sets the maximum level of data structure

2025-01-10 15:47:30
initialize_copy
  • References/Ruby on Rails/Ruby/Classes/JSON/JSON::Ext/JSON::Ext::Generator/JSON::Ext::Generator::State

initialize_copy(orig) Instance Public methods Initializes this object from

2025-01-10 15:47:30
space_before=
  • References/Ruby on Rails/Ruby/Classes/JSON/JSON::Ext/JSON::Ext::Generator/JSON::Ext::Generator::State

space_before=(space_before) Instance Public methods This string is used to

2025-01-10 15:47:30
to_json_raw
  • References/Ruby on Rails/Ruby/Classes/JSON/JSON::Ext/JSON::Ext::Generator/JSON::Ext::Generator::GeneratorMethods/JSON::Ext::Generator::GeneratorMethods::String

to_json_raw(*args) Instance Public methods This method creates a

2025-01-10 15:47:30
object_nl=
  • References/Ruby on Rails/Ruby/Classes/JSON/JSON::Ext/JSON::Ext::Generator/JSON::Ext::Generator::State

object_nl=(object_nl) Instance Public methods This string is put at the end

2025-01-10 15:47:30