Not sure if this works as intended, but I want to convert a blob of json into an array of generic objects (the objects are malleable and can change depending on my URL). Should I use JSON.parse(res.json().data) instead? Thanks.
return this.http.get(URL)
.toPromise()
.then(response => response.json().data as Object[])
.catch(this.handleError);
}