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