I want to read an array of json on my ion card but it shows me as an arrangement, I would like to display it as a normal text, could you help me?
prueba.ts
get(){
this.responseData = [];
var link = (‘https://gitiebeacon.com/slimrest/index.php/getmessage/’ + this.userData.user + ‘/’ + this.userData.major + ‘/’ + this.userData.minor)
this.http.get(link)
.subscribe(data => {
this.responseData = data[’_body’];
}, err => {
console.error("Error : "+ err);
}, () => {
console.log('getData Completed')
});
}
prueba.html
Mensaje
<ion-card-content>
<p>{{responseData}}</p>
</ion-card-content>
</ion-card>
array Json
[{‘title’:true,‘items’:[{“id”:“25”,“0”:“25”,“titulo”:“AWD”,“1”:“AWD”},{“id”:“26”,“0”:“26”,“titulo”:“d12d12d12d12d21d”,“1”:“d12d12d12d12d21d”},{“id”:“28”,“0”:“28”,“titulo”:“123”,“1”:“123”}]}]
already use ngFor and does not show anything
HELP!!!