title: Access to a JSON Value in Angular 7
body: <p>Hello I'm trying to access to an especific key from a JSON. I'm using node.js and angular 7
  The JSON I got is stringfy and it comes from an API.</p>
  
  <p>This is the JSON I got</p>
  
  <pre><code>  "search": {
      "entry": [
        {
          "dn": "uid=080030781,c=mx,ou=s,o=i.com",
          "attribute": [
            { "name": "mail", "value": ["CAMILA.CAMPOS.TELLEZ@mail.com", "MX08@mail.com"] }]
        }
      ],
        "return": {
        "code": 0,
          "message": "Success",
            "count": 1
      }
    }
  }
  </code></pre>
  
  <p>I need to access to the key "value", because I need to get the value "camila.campos.tellez@mail.com".
  I get the JSON from an API declarated in a node.js file called app.js, then I catch the response from it using this service.ts file</p>
  
  <pre><code> getApproverMail(name) {
      console.log('entered to rootservice');
      return this.http.get(this.baseUrl + '/costing/operations?name=' + name);
    }
  </code></pre>
  
  <p>Finally I can access to this through a component.ts fil with this code</p>
  
  <pre><code>findApproverMail() {
  
      this.rootService.getApproverMail(this.aproverName).subscribe((res) =&gt; {
        this.email = res;
        console.log('Test: ' + res);
      });
  
    }
  </code></pre>
  
  <p>And the browser console prints the JSON I have show you. But how can I access only to the mail's value? 
  P.D I need only the mail because after I got it the web site needs to send an email to that direction</p>