title: Parse a JSON response Angular 2
body: <p>Does anyone know how I can parse a JSON response into a structure like this?</p>
  
  <pre><code>   [
    {
      "iD": 2,
      "OrderList": [
        {
          "bidPrice": 0,
          "iD": 0,
          "name": "Name",
          "price": 10,
          "resteurant": "Restaurant"
        },
        {
          "bidPrice": 0,
          "iD": 0,
          "name": "Something",
          "price": 20,
          "resteurant": "La Place"
        }
  ],
      "owner": "Tom"
    }
  ]
  </code></pre>
  
  <p>I used json2ts to create these two structures:</p>
  
  <pre><code>  import {OrderList} from "./OrderList.ts";
  import {Injectable} from  "@angular/core";
  
  @Injectable()
  
  export interface OrderBasket {
      iD: number;
      OrderList: OrderList[];
      owner: string;
  }
  </code></pre>
  
  <p>and </p>
  
  <pre><code>import {Injectable} from  "@angular/core";
  
  @Injectable()
  export interface OrderList {
      bidPrice: number;
      iD: number;
      name: string;
      price: number;
      resteurant: string;
  }
  </code></pre>
  
  <p>I make a call to the server and subscribe, but i cannot get this structure.
  Can anyone help ?</p>