Store variables in a text file

Hi all!

I have a couple of small Hype projects to develop, stuff to be displayed on video walls.

One requirement is the use of variables store on in a text file. On the first scene, text input fields are filled once and the info entered needs to reside permanently in a data file. Variables will be used as parameters for javascript code.

What is the best way to store that info in a text file? Json or XML? Were can I find examples for this?

Thanks in advance,


guess json is much simpler …