stephen_bailey
04/27/2021, 5:16 PMresponse_result_key
approach i describe here. would be happy to submit a pr if we think that would be good. Maybe the more flexible way would be something like response_path = 'teams'
or response_path = 'data.teams'
to parse a json structure.edgar_ramirez_mondragon
04/27/2021, 6:18 PMresponse_path
using a jsonpath would be a nice approach. Default would be something like $[*]
?aaronsteers
04/27/2021, 8:02 PMparse_response()
, in terms of what we support today.
I do really like the suggested response_path
approach though as you and @edgar_ramirez_mondragon are suggesting. Do either of you want to create an issue for this, and/or kickoff an MR? I had not considered the response_path
approach but if there’s a stable+robust implementation, we could make that the default implementation if parse_response()
is not overriden.edgar_ramirez_mondragon
04/27/2021, 9:57 PMedgar_ramirez_mondragon
04/27/2021, 11:16 PM