title: How to assert based on body item with Rest Assured with JSON response?
body: <p>How can I assert my properties inside the "description" array using the rest assured .body() method.</p>
  
  <p>Example:</p>
  
  <pre><code> .body ("[0] .userType", equalTo (1)); // error 
  </code></pre>
  
  <p>Here is my current JSON data which I want to assert with:</p>
  
  <pre><code>{
  "validSession": true,
  "value": "xxx",
  "description": [
      {
          "userType": 1,
          "userTypeDescription": "xxx",
          "uname": "xx",
          "distributorId": 1
      }
  ]}
  </code></pre>