Module: JSON::Pure::Generator::GeneratorMethods::NilClass

Defined in:
lib/crazy_ivan/vendor/json-1.1.7/lib/json/pure/generator.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonObject

Returns a JSON string for nil: ‘null’.



425
# File 'lib/crazy_ivan/vendor/json-1.1.7/lib/json/pure/generator.rb', line 425

def to_json(*) 'null' end