Recently, I received a URL that includes data arrays in JSON format. My goal is to retrieve and utilize all elements within it:
However, when attempting this, I end up with everything but nothing specific. For instance: How can I access data.name or data.price values?
ngOnInit() {
this.http.get('this.url').subscribe(data => {
console.log(data);
})