title: Angular http.get - Transforming result
body: <p>Angular 8</p>
  
  <p>I have a http.get :</p>
  
  <pre><code>this.http.get("https://BahaiPrayers.net/api/prayer/Languages")
    .subscribe(data =&gt; {
         //return a different object
    });
  </code></pre>
  
  <p>The json from the server looks like this:</p>
  
  <pre><code>{
   Id: 1,
   Name: "English",
  },....
  </code></pre>
  
  <p>I need the http.get to transform the data into my typescript array of this class:</p>
  
  <pre><code> export class Language {
        languageId: number;
        englishName: string;
    }
  </code></pre>
  
  <p>Is there a way to have the http.Get convert to my object?</p>