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’.
616 |
# File 'lib/json/truffle_ruby/generator.rb', line 616 def to_json(*) 'null' end |