See #as_json.
9 10 11
# File 'lib/json/add/regexp.rb', line 9 def self.json_create(object) new(object['s'], object['o']) end