Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/json.rb
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ def self.parse!(source, options = {})
# Raw js object => opal object
def self.from_object(js_object)
options = { :object_class => Hash, :array_class => Array }
`to_opal(js_object, options)`
`to_opal(js_object, #{options.to_n})`
end

def self.generate(obj, options = {})

0 comments on commit e390bc6

Please sign in to comment.