Use of Json file - Forum

Forum Navigation
You need to log in to create posts and topics.

Use of Json file

Hello,
Maybe I saw it wrong, but I haven't found an example showing how to write a Json file online (is it possible with VNWeb?). I have seen how to read a Json online, but not how to write in a Json. I may be frowned upon ...
Best regards,

@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.
luishp

Thank you Gaev ! I will check this as soon as possible !
Regards,

I was about suggesting the same than @gaev :)