Class: Object

Inherits:
BasicObject
Defined in:
opal/stdlib/json.rb

Instance Method Summary collapse

Instance Method Details

#as_jsonObject

FIXME: remove this



108
109
110
# File 'opal/stdlib/json.rb', line 108

def as_json
  nil
end

#to_jsonObject



103
104
105
# File 'opal/stdlib/json.rb', line 103

def to_json
  to_s.to_json
end