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.

array_nl
  • References/Ruby on Rails/Ruby/Classes/JSON/JSON::Ext/JSON::Ext::Generator/JSON::Ext::Generator::State

array_nl() Instance Public methods This string is put at the end of a line

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

buffer_initial_length=(length) Instance Public methods This sets the initial

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

String.included(modul) Class Public methods Extends modul with the

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

indent=(indent) Instance Public methods This string is used to indent levels

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

to_json(*) Instance Public methods Returns a

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

space=(space) Instance Public methods This string is used to insert a space

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

to_json(*) Instance Public methods Returns a

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

quirks_mode? Instance Public methods Returns true, if quirks mode is enabled

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

from_state(opts) Class Public methods Creates a

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

configure(opts) Instance Public methods Configure this

2025-01-10 15:47:30