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