Method: JSON.state

Defined in:
lib/gems/json_pure-1.1.3/lib/json/common.rb

.stateObject

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



69
70
71
# File 'lib/gems/json_pure-1.1.3/lib/json/common.rb', line 69

def state
  @state
end