Structural JSON Matching
Shows partial object matching, unordered array membership, and unordered array subset matching.
---
Get User
GET https://jsonplaceholder.typicode.com/users/1
^ & body ~= {"id":1,"address":{"city":"Gwenborough"}}
^ & body.company ~= {"name":"Romaguera-Crona"}
---
Get Posts
GET https://jsonplaceholder.typicode.com/posts?userId=1
^ & body ~= {"userId":1,"id":1}
^ & body ~= [{"id":1},{"id":2}]