Module: Selenium::WebDriver::JsonHelper

Included in:
Selenium::WebDriver
Defined in:
rb/lib/selenium/webdriver/common/json_helper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) json_dump(obj)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



22
23
24
# File 'rb/lib/selenium/webdriver/common/json_helper.rb', line 22

def json_dump(obj)
  MultiJson.dump(obj)
end

- (Object) json_load(obj)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
# File 'rb/lib/selenium/webdriver/common/json_helper.rb', line 10

def json_load(obj)
  MultiJson.load(obj)
end