8 AnswersNew Answer
JSON along with XML are the most popular and frequently used standards of formatting datasets, translatable to any modern programming language. Both are easily comprehensible, platform- and OS-independent and capable.
If you develop a web services chances are that you prefer to use json to encode the output. Today is practically a standard. If you use a nosql database, like mongodb, you can use json by the same reason
JSON is easy to learn because the main part is: "attribute":"value" and its very usefull
Due to the syntax XML is much larger then JSON. This is why JSON is the preference in web data transfer. Programming languages can recognise JSON data types easily.
If we want to serialize a table into JSON and XML, assuming equal number of records, which format in your opinion would be larger (in bytes) between the two?. And which of them supports field definition & description (data type, length etc.)?.
I use json for a config file for my open source discord bot