title: RestAssured JsonPath: How to filter json objects from json
body: <p>I'm trying to take an array of objects from json file and i have an issue. </p>
  
  <pre><code>path.get("wgcTournaments.items")
  </code></pre>
  
  <p>What path i should use to get all items(item0, item1, item2 ...) in items? </p>
  
  <p>Can you please give me an advice how to do it.</p>
  
  <p>Json example </p>
  
  <pre><code>{
    "wgcTournaments": {
      "items": {
        "jcr:primaryType": "nt:unstructured",
        "item0": {
          "jcr:primaryType": "nt:unstructured",
          "test": "test",
          "test1": "test1"
        },
        "item1": {
          "jcr:primaryType": "nt:unstructured",
          "test": "test",
          "test1": "test1"
        },
        "item2": {
          "jcr:primaryType": "nt:unstructured",
          "test": "test",
          "test1": "test1"
        },
        "item3": {
          "jcr:primaryType": "nt:unstructured",
          "test": "test",
          "test1": "test1"
        }
      }
    }
  }
  </code></pre>
  
  <p>The best way to filter item from items object but i don't understand how to do it with json path. </p>