title: How to check if the response Body has a string for a nested JSON in POSTMAN
body: <p>To check if the Respondy Body has a string, I can use this:</p>
  
  <pre><code>tests["Body matches string"] = responseBody.has("string_you_want_to_search");
  </code></pre>
  
  <p>But I have a responseBody like this:</p>
  
  <pre><code>{  
   "total": 20000,
   "amount": {
     "total": 10000,
     "fees": 0,
     "refunds": 0,
     "liquid": 10000,
     "currency": "BRL"
   },
  }
  </code></pre>
  
  <p>How can I check the field amount.total?</p>