Method: Playwright::Response#json

Defined in:
lib/playwright_api/response.rb

#jsonObject

Returns the JSON representation of response body.

This method will throw if the response body is not parsable via JSON.parse.



59
60
61
# File 'lib/playwright_api/response.rb', line 59

def json
  wrap_impl(@impl.json)
end