Skip to content

Assert Array of Objects contains key/value #126

Answered by gavv
hmajid2301 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I think the closest thing is using JSONPath + Array().Iter() + a loop, see this snippet for details: https://github.com/gavv/httpexpect#json-schema-and-json-path

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gavv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #126 on November 12, 2022 20:27.