import 'rxjs/add/operator/map'; ... return this.http.get("file.json").map(response => response['documents'])