title: How to search through JSON response with Cypress assertions
body: <p>Considering the below API response I would like to assert the exact location of a certain value in a JSON structure. In my case the <em>name</em> of <em>pikachu</em> within <em>forms</em>: </p>
  
  <pre><code>"abilities": [
  {
  "ability": {
  "name": "lightning-rod",
  "url": "https://pokeapi.co/api/v2/ability/31/"
  },
  "is_hidden": true,
  "slot": 3
  },
  {
  "ability": {
  "name": "static",
  "url": "https://pokeapi.co/api/v2/ability/9/"
  },
  "is_hidden": false,
  "slot": 1
  }
  ],
  "base_experience": 112,
  "forms": [
  {
  "name": "pikachu",
  "url": "https://pokeapi.co/api/v2/pokemon-form/25/"
  }]
  </code></pre>
  
  <p>I would like to extend below code snippet to not scan the entire body as a whole as there are a lot of <em>name</em>'s in the response, but rather go via <em>forms</em> to exactly pinpoint it: </p>
  
  <pre class="lang-js prettyprint-override"><code>describe('API Testing with Cypress', () =&gt; {
  
    var baseURL = "https://pokeapi.co/api/v2/pokemon"
  
    beforeEach(() =&gt; {
        cy.request(baseURL+"/25").as('pikachu');
    });
  
  
  it('Validate the pokemon\'s name', () =&gt; {
        cy.get('@pikachu')
            .its('body')
            .should('include', { name: 'pikachu' })
            .should('not.include', { name: 'johndoe' });
    });
  </code></pre>
  
  <p>Many thanks in advance! </p>