Quote from
Gaev on February 19, 2020, 3:34 pm
@cdy44-2
how to write a Json file online
Just think of JSON (JavaScript Object Notation) as CSV-on-steroids :-))
JSON content is stored in files in plain text format ... so you can view the contents (albeit in a nerdy syntax, appearing as one looooong line of text) using a text editor (even notepad).
In order to write the contents of an object to a file, you ...
- use the StringifyJSON command to convert it to a string (with the nerdy syntax, often called the stringyfied format)
- then write this (string) variable to a file (like you would for any other text file)
You can learn more about this great information exchange format here ... https://www.w3schools.com/js/js_json_intro.asp
@cdy44-2
how to write a Json file online
Just think of JSON (JavaScript Object Notation) as CSV-on-steroids :-))
JSON content is stored in files in plain text format ... so you can view the contents (albeit in a nerdy syntax, appearing as one looooong line of text) using a text editor (even notepad).
In order to write the contents of an object to a file, you ...
- use the StringifyJSON command to convert it to a string (with the nerdy syntax, often called the stringyfied format)
- then write this (string) variable to a file (like you would for any other text file)
You can learn more about this great information exchange format here ... https://www.w3schools.com/js/js_json_intro.asp
luishp has reacted to this post.