I retrieved the data from the database which was in [object Object].
I usually convert these data using JSON.parse but it did not working so, I tried JSON.stringify but the data now it's like
[{"station" : "NewYork"}, {"station" : "Toronto"}]
Now I don't know how to convert this data into an array object and access it. I need only object entries but I don't know how to access it.
If it is declared to var data I need it like data[0]['station'] to access but I couldn't do it.