I am learning Javascript and working at frontend only. I want to write a JSON file using javascript and read it. I know how to read it but don't know how to write it with frontend javascript.
Asked
Active
Viewed 597 times
0
-
Hey, just google it. found good link: https://stackoverflow.com/questions/32546100/how-to-write-data-to-a-json-file-using-javascript – Niteen Apr 01 '19 at 06:22
1 Answers
1
To my best knowledge writing to the file system is against front-end development. I suggest two options:
- use cookie/localstorage
- download the file
I would go about the first option

Shriekin Ninja
- 96
- 6