Good day ,
Trying to make
Syntax[Error] : Unexpected toke ?
I have worked out the example that you have placed in the JSFiddle link. I found that the issue is with the
jsonFileArr = JSON.parse(data); which return to be written as,
jsonFileArr = JSON.stringify(data); jsonFileArr = JSON.parse(jsonFileArr);
Basically you will have to convert it to a valid JSON string using the
stringify before you parse it using the
Hope this helps!