I am getting the following error trying to load a JSON file in FramerJS — SyntaxError: Unexpected token ':'. Parse error.
Have anyone come across this as well?
There's a new Utils.-function to load JSON files:'Utils.domLoadJSONSync("path")'
I see. Thanks Marc Krenn :D
Nice. I missed the new function as well.
Thanks for the link.
Also, some API's require you to use a CORS proxy to work: https://crossorigin.me/
That's good to know. I am still struggling to access the JSON file properly. For some reason I cannot retrieve the data inside a loop. Any ideas why? I can print values outside the loop but not inside - http://share.framerjs.com/pd97e2g3dywo/