1

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 ?

aarans
  • 29
  • 8
  • 2
    Please refer https://stackoverflow.com/questions/24911126/how-to-add-local-json-file-in-jsfiddle – Sivakumar Oct 09 '20 at 09:56
  • 1
    I 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 Answers1

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