0
Open .json file using JavaScript code
Hi. how I can import a .json file to JavaScript value using just JavaScript without Ajax or jqury...
2 Answers
+ 1
Hey check out my code. I dont think there's a way to manipulate JSON files with vanilla JavaScript. You're gonna need a runtime enviroment like NodeJS.
https://code.sololearn.com/WThkjS3vJ16I/?ref=app
I hope it helps
+ 4
You can use fetch Api.