to_json(*)
Stores class name (Regexp) with options o and source s (Regexp or String) as JSON string
# File ext/json/lib/json/add/regexp.rb, line 27 def to_json(*) as_json.to_json end