- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378 (0)
- 1_9_2_180 (-38)
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (6)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
Constants
NaN = 0.0/0
Infinity = 1.0/0
MinusInfinity = -Infinity
UnparserError = GeneratorError
VERSION = '1.5.5'
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’. |