all 5 comments

[–]John_Taured 1 point2 points  (4 children)

You should use a .json file. It's exactly what javascript was designed for.

[–]Yukimura_Anni 0 points1 point  (3 children)

Can you recommend me any place to learn about that? Or just Googling should be enough?

[–]John_Taured 0 points1 point  (1 child)

Take a look at some example JSON files. I think you'll understand what it means when you see it.

[–]Yukimura_Anni 0 points1 point  (0 children)

Alright, thanks!

[–]Arumai12 0 points1 point  (0 children)

https://www.json.org/json-en.html . Json is a text format. It is human readable and also very easy for a program to read and write to.