Hi,
I wanted to work with my own json data file, but it did not finish loading …
thanks
Hi,
I wanted to work with my own json data file, but it did not finish loading …
thanks
Your “data.json”'s URI misses CORS headers, so it can’t be fetched by regular means:
http://Maxence.Larrieu.free.fr/urua/data.json
Read about CORS at this link below:
Also, it seems like “data.json” misses double quotes on some of its values:
SyntaxError: “JSON.parse: expected double-quoted property name at line 9 column 3 of the JSON data”
{
"ur": [
{ "name" : "Granem",
"type":"UMR",
"pole":"SHS",
"effectif":38,
"publis":100,
"publisOa": 40,
},
{
"name" : "Granem",
"type":"EA",
"pole":"Santé",
"effectif":15,
"publis":72,
"publisOa":50,
}
]
}