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