Class: Object

Inherits:
BasicObject
Defined in:
lib/yajl/json_gem/encoding.rb

Overview

Our fallback to_json definition

Instance Method Summary collapse

Instance Method Details

#to_json(*args, &block) ⇒ Object



10
11
12
# File 'lib/yajl/json_gem/encoding.rb', line 10

def to_json(*args, &block)
  "\"#{to_s}\""
end