Module: JSON::Pure::Generator::GeneratorMethods::NilClass
- Defined in:
- lib/vendor/json_pure/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’.
447 |
# File 'lib/vendor/json_pure/lib/json/pure/generator.rb', line 447 def to_json(*) 'null' end |