module JSON::TruffleRuby::Generator::GeneratorMethods::NilClass

Public Instance Methods

to_json(*) click to toggle source

Returns a JSON string for nil: 'null'.

# File lib/json/truffle_ruby/generator.rb, line 703
def to_json(*) 'null' end