Returns a JSON string for nil: 'null'.
# File lib/json/pure/generator.rb, line 463 def to_json(*) 'null' end