No documentation

This module has no description. You can help the Ruby community by adding new notes.

Constants

NaN = 0.0/0

Infinity = 1.0/0

MinusInfinity = -Infinity

UnparserError = GeneratorError

VERSION = '1.5.4'

VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i }

VERSION_MAJOR = VERSION_ARRAY[0]

VERSION_MINOR = VERSION_ARRAY[1]

VERSION_BUILD = VERSION_ARRAY[2]

JSON_LOADED = true unless defined?(::JSON::JSON_LOADED)

Attributes

[R] parser

Returns the JSON parser class that is used by JSON. This is either JSON::Ext::Parser or JSON::Pure::Parser.

[R] generator

Returns the JSON generator module that is used by JSON. This is either JSON::Ext::Generator or JSON::Pure::Generator.

[RW] state

Returns the JSON generator state class that is used by JSON. This is either JSON::Ext::Generator::State or JSON::Pure::Generator::State.

[RW] create_id

This is create identifier, which is used to decide if the json_create hook of a class should be called. It defaults to ‘json_class’.

Show files where this module is defined (4 files)
Register or log in to add new notes.