# Table of Contents - json: Ruby Standard Library Documentation

## Classes and Modules

- BigDecimal
- Class
- Complex
- Date
- DateTime
- Exception
- JSON
  - JavaScript Object Notation (JSON)
  - Using Module JSON
  - Parsing JSON
  - Parsing JSON Arrays
  - Parsing JSON Objects
  - Parsing JSON Scalars
  - Parsing Options
  - Input Options
  - Output Options
  - Generating JSON
  - Generating JSON from Arrays
  - Generating JSON from Hashes
  - Generating JSON from Other Objects
  - Generating Options
  - Input Options
  - Escaping Options
  - Output Options
  - JSON Additions
  - Built-in Additions
  - Custom JSON Additions
- JSON::Ext
- JSON::Ext::Generator
- JSON::Ext::Generator::State
- JSON::Ext::Parser
- JSON::GeneratorError
- JSON::GenericObject
- JSON::JSONError
- JSON::MissingUnicodeSupport
- JSON::NestingError
- JSON::ParserError
- Kernel
- OpenStruct
- Range
- Rational
- Regexp
- Set
- Struct
- Symbol
- Time

## Methods

- ::[] — JSON
- ::create_fast_state — JSON
- ::create_id — JSON
- ::create_id= — JSON
- ::create_pretty_state — JSON
- ::dump — JSON::GenericObject
- ::from_hash — JSON::GenericObject
- ::from_state — JSON::Ext::Generator::State
- ::generate — JSON::Ext::Generator::State
- ::iconv — JSON
- ::json_creatable? — JSON::GenericObject
- ::json_create — BigDecimal
- ::json_create — Complex
- ::json_create — Date
- ::json_create — DateTime
- ::json_create — Exception
- ::json_create — OpenStruct
- ::json_create — Range
- ::json_create — Rational
- ::json_create — Regexp
- ::json_create — Set
- ::json_create — Struct
- ::json_create — Symbol
- ::json_create — Time
- ::json_create — JSON::GenericObject
- ::load — JSON::GenericObject
- ::new — JSON::Ext::Generator::State
- ::new — JSON::Ext::Generator::State
- ::new — JSON::GeneratorError
- ::new — JSON::Ext::Parser
- ::parse — JSON::Ext::Parser
- ::restore — JSON
- ::wrap — JSON::JSONError
- #JSON — Kernel
- #[] — JSON::Ext::Generator::State
- #[] — JSON::GenericObject
- #[]= — JSON::Ext::Generator::State
- #[]= — JSON::GenericObject
- #_configure — JSON::Ext::Generator::State
- #_generate — JSON::Ext::Generator::State
- #allow_nan= — JSON::Ext::Generator::State
- #allow_nan? — JSON::Ext::Generator::State
- #array_nl — JSON::Ext::Generator::State
- #array_nl= — JSON::Ext::Generator::State
- #as_json — BigDecimal
- #as_json — Complex
- #as_json — Date
- #as_json — DateTime
- #as_json — Exception
- #as_json — OpenStruct
- #as_json — Range
- #as_json — Rational
- #as_json — Regexp
- #as_json — Set
- #as_json — Struct
- #as_json — Symbol
- #as_json — Time
- #as_json — JSON::GenericObject
- #ascii_only= — JSON::Ext::Generator::State
- #ascii_only? — JSON::Ext::Generator::State
- #buffer_initial_length — JSON::Ext::Generator::State
- #buffer_initial_length= — JSON::Ext::Generator::State
- #check_circular? — JSON::Ext::Generator::State
- #configure — JSON::Ext::Generator::State
- #depth — JSON::Ext::Generator::State
- #depth= — JSON::Ext::Generator::State
- #detailed_message — JSON::GeneratorError
- #dump — JSON
- #escape_slash — JSON::Ext::Generator::State
- #escape_slash= — JSON::Ext::Generator::State
- #escape_slash? — JSON::Ext::Generator::State
- #fast_generate — JSON
- #generate — JSON::Ext::Generator::State
- #generate — JSON
- #indent — JSON::Ext::Generator::State
- #indent= — JSON::Ext::Generator::State
- #initialize_copy — JSON::Ext::Generator::State
- #j — Kernel
- #jj — Kernel
- #json_creatable? — Class
- #load — JSON
- #load_file — JSON
- #load_file! — JSON
- #max_nesting — JSON::Ext::Generator::State
- #max_nesting= — JSON::Ext::Generator::State
- #merge — JSON::Ext::Generator::State
- #merge_dump_options — JSON
- #object_nl — JSON::Ext::Generator::State
- #object_nl= — JSON::Ext::Generator::State
- #parse — JSON::Ext::Parser
- #parse — JSON
- #parse! — JSON
- #pretty_generate — JSON
- #restore — JSON
- #script_safe — JSON::Ext::Generator::State
- #script_safe= — JSON::Ext::Generator::State
- #script_safe? — JSON::Ext::Generator::State
- #source — JSON::Ext::Parser
- #space — JSON::Ext::Generator::State
- #space= — JSON::Ext::Generator::State
- #space_before — JSON::Ext::Generator::State
- #space_before= — JSON::Ext::Generator::State
- #strict — JSON::Ext::Generator::State
- #strict= — JSON::Ext::Generator::State
- #strict? — JSON::Ext::Generator::State
- #to_h — JSON::Ext::Generator::State
- #to_hash — JSON::Ext::Generator::State
- #to_hash — JSON::GenericObject
- #to_json — BigDecimal
- #to_json — Complex
- #to_json — Date
- #to_json — DateTime
- #to_json — Exception
- #to_json — OpenStruct
- #to_json — Range
- #to_json — Rational
- #to_json — Regexp
- #to_json — Set
- #to_json — Struct
- #to_json — Symbol
- #to_json — Time
- #to_json — JSON::GenericObject
- #unsafe_load — JSON
- #| — JSON::GenericObject