+ 1
Should I use yaml or json for a js project?
3 odpowiedzi
+ 1
JSON looks like JavaScript objects. So it will be more preferred for JS projects. Also, you need extra libraries to work with YAML unlike JSON that is supported natively.
+ 1
I would prefer Json, but that's just an opinion. May depend on the data you like to process, the given data storage (it would be e.g. useless to convert to yaml if your data storage is a mongo DB), maybe the client, the structure and specifics of your data and so on...
+ 1
I would use json