I have the following where Im comparing responses of two envs on the fly.
In my case for some of the services the response json elements/array order is not mandatory, but for some its mandatory. So I used contains, but my doubt is if any of the elements/arrays is missing in any of the responses
say while comparing below two:

```
A: {
    "hotels": [
      { "roomInformation": [{ "roomPrice": 618.4 }], "totalPrice": 618.4  },
      { "roomInformation": [{ "roomPrice": 679.79}], "totalPrice": 679.79 }
    ]
  }

B:
{
    "hotels": [
      { "roomInformation": [{ "roomPrice": 618.4 }], "totalPrice": 618.4  },
      { "roomInformation": [{ "roomPrice": 680.79}], "totalPrice": 680.79 },
      { "roomInformation": [{ "roomPrice": 679.79}], "totalPrice": 679.79 }

    ]
  }

```

using the below match each with `contains` give positive result? please suggest

```
Feature: 
Background:

Scenario: test
        * json input = read('input.json')
        * def stage= call read('A.feature') input;
        * def prod = call read('B.feature') input;      
        #* def rp = $prod[*].response
        #* def rs = $stage[*].response
    #* match rs contains rp
    #* match each $prod[*].response[*] contains $stage[*].response
    # * match each $prod[*].response[*] contains $stage[*].response.[*] 

```