I have a VUE component that should fetch data from an asp (classic) page.
The data in this example is [{“id” : “001”, “name”: “Bulbasaur”},{“id” : “002”, “name”: “Ivysaur”},{“id” : “003”, “name”: “Venusaur”}]
When VUE get it from the server it seems that the data is not an array so i cant loop through it but if i copy the data directly from a print of the data in VUE and put it in my variable (array) it can loop through it without any problem.
And if i just put a file called test.json in the server i can read it and loop through it without problem so i guess the asp server does something with it that i do not want if i do it in an asp page instead om just a file.
Please help.
Can post code if you like but thought that maybe is not necessary ?