Module: JSON::Pure::Generator::GeneratorMethods::NilClass
- Defined in:
- lib/gems/json_pure-1.1.3/lib/json/pure/generator.rb
Instance Method Summary collapse
-
#to_json ⇒ Object
Returns a JSON string for nil: ‘null’.
Instance Method Details
#to_json ⇒ Object
Returns a JSON string for nil: ‘null’.
389 |
# File 'lib/gems/json_pure-1.1.3/lib/json/pure/generator.rb', line 389 def to_json(*) 'null' end |