Module: Selenium::WebDriver::JsonHelper
- Included in:
- Selenium::WebDriver
- Defined in:
- lib/selenium/webdriver/common/json_helper.rb
Instance Method Summary collapse
- #json_dump(obj) ⇒ Object private
- #json_load(obj) ⇒ Object private
Instance Method Details
#json_dump(obj) ⇒ Object
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.
41 42 43 |
# File 'lib/selenium/webdriver/common/json_helper.rb', line 41 def json_dump(obj) MultiJson.dump(obj) end |
#json_load(obj) ⇒ Object
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.
29 30 31 |
# File 'lib/selenium/webdriver/common/json_helper.rb', line 29 def json_load(obj) MultiJson.load(obj) end |