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

Defined in:
lib/json/pure/generator.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonObject

Returns a JSON string for nil: ‘null’.



508
# File 'lib/json/pure/generator.rb', line 508

def to_json(*) 'null' end