title: JSON.parse get value
body: <p>I'm trying to retrieve a specific value for a given key. My JSON object looks like this directly taken from the console.</p>
  
  <pre><code>0
  :
  {mail: "testmail@hotmail.com", location: "England", about: "Rockstar", phoneNr: "1233425"}
  </code></pre>
  
  <p>My angular code that retrieves the response and prints it</p>
  
  <pre><code>getProfile(){
          const obs = new Subject&lt;Users[]&gt;();
          this.http.post('http://localhost/shareVideoAppPHP/sharevideoapp-backend/readProfile.php', "1", {headers: this.headers})
          .subscribe((message) =&gt; { //Function data
              const response = JSON.parse(message.text());
              obs.next(response);
              console.log("Mesage-------&gt;", response);
          }, (error) =&gt; {
              console.log("Error from server!", error);
          });
      }
  </code></pre>
  
  <p>Thinks I've tried</p>
  
  <pre><code>response.location
  response["location"]
  message["location"]
  message.location
  </code></pre>
  
  <p>All of them give the following print: <code>Mesage-------&gt; undefined</code> except the last one which gives an error <code>Property 'location' doesn't exist on type Response</code></p>