You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecate To Json keyword in favor of response.json attribute #219
thanks @trogdor259 is there any documentation about that API? for instance, can I do something like ${jsondata["key"].length} ? Or how to ask is an attribute exists in the JSON like ${jsondata["key"].exists} ?
Activity
trogdor259 commentedon Feb 9, 2019
${jsondata["key"][0]["another_key"]}ppazos commentedon Feb 10, 2019
thanks @trogdor259 is there any documentation about that API? for instance, can I do something like ${jsondata["key"].length} ? Or how to ask is an attribute exists in the JSON like ${jsondata["key"].exists} ?
lucagiove commentedon Mar 17, 2019
you can directly get the dictionary with ${resp.json()}
http://docs.python-requests.org/en/master/user/quickstart/#json-response-content
lucagiove commentedon Oct 16, 2019
To be honest I don't see the point of using To Json keyword since the response already has .json attribute.
[-]Get data from json[/-][+]Deprecate To Json keyword in favor of response.json attribute[/+]andreagubellini commentedon Oct 9, 2020
Hi, I've opened this PR related to this issue.
mayribeirofernandes commentedon Jan 29, 2021
#297 (comment)