I have a task to complete a task through js fiddle, my task is using json data. My question is how to import my json file from my computer to js fiddle ?
Asked
Active
Viewed 332 times
1
-
2Please refer https://stackoverflow.com/questions/24911126/how-to-add-local-json-file-in-jsfiddle – Sivakumar Oct 09 '20 at 09:56
-
1I have try it, but the result always show error alert, – aarans Oct 09 '20 at 10:06
-
Thanks anyway, anyone who want to see the example of working with json data in jsfiddle can visit my last work https://jsfiddle.net/zx0j7tsd/ – aarans Oct 09 '20 at 17:24
1 Answers
1
If you have access to the json file, simply add the json content inside the js part in a variable.

chyke007
- 1,478
- 1
- 8
- 16