Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it bad to store JSON on disk?

Mostly I have just used XML files to store config info and to provide elementary data persistence. Now I am building a website where I need to store some XML type data. However I am already using JSON extensively throughout the whole thing. Is it bad to store JSON directly instead of XML, or should I store the XML and introduce an XML parser.

like image 886
DevDevDev Avatar asked Nov 29 '22 12:11

DevDevDev


1 Answers

Not bad at all. Although there are more XML editors, so if you're going to need to manually edit the files, XML may be better.

like image 137
JW. Avatar answered Dec 19 '22 00:12

JW.