title: unable to get JSON value response
body: <p>I'm making an API call using node js and I'm getting the below response of type string (knew this when I did <code>typeOf</code>). </p>
  
  <pre><code>{
      "metadata": {
          "provider": "Press"
      },
      "results": [
          {
              "senses": [
                  {
                      "definitions": [
                          "this is an animal"
                      ]
                  }
              ]
          }
      ]
  }
  </code></pre>
  
  <p>And from this response I need to pull <code>this is an animal</code>, and I'm trying to get the data using the below code piece.</p>
  
  <pre><code>console.log(JSON.parse(body.results[0].senses[0].definitions[0]));
  </code></pre>
  
  <p>but this is giving me an error as below</p>
  
  <pre><code>console.log(JSON.parse(body.results[0].senses[0].definitions[0]));
                                     ^
  
  TypeError: Cannot read property '0' of undefined
  </code></pre>
  
  <p>please let me know where am I going wrong and how can I fix this.</p>
  
  <p>Thanks</p>