in my Vue Js project i have data from API, and in JSON there is object stored and i can't view them in my code.. i tried to use this.obj =JSON.stringify(this.Flats); and when i console.log it i can see all my data but i couldn't loop over them to view payment object
BuildingsService.getAllFlats().then((response) => {
this.Flats = response.data.response;
this.obj =JSON.stringify(this.Flats);
console.log(this.Flats,"dataaa")
});
<div v-for="(object,index) in obj" :key="index"> //didn't work
<span> {{object.flat_number}} </span>
<span > {{object.payment}} </span>
</div>
