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

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

Instance Method Summary collapse

Instance Method Details

#to_json(*args) ⇒ Object

Returns a JSON string for nil: ‘null’.



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

def to_json(*args) 'null' end