0

Why is the mimetype for a JSON file application/json not text/json? It would make much more sense because a JSON is a text file. A JSON file can be opened by a normal text editor like vim. So why starts the mimetype of a JSON with application/? I thought that application/* means the the file cannot be read as text.

calii23
  • 88
  • 2
  • 4
  • Maybe it will help you [Advantages of using application/json over text/plain?](https://stackoverflow.com/questions/4350753/advantages-of-using-application-json-over-text-plain) – sohaieb azaiez Oct 01 '17 at 21:12
  • Why should you use it? because it is standardized. Why has it been standardized this way? I don't know. I'd guess it is because the format isn't meant to be read by humans but rather by applications, but that's true of XML too which has both text/xml and application/xml as standardized MIME types – Aaron Oct 01 '17 at 21:59
  • But this doesn't answer my question, Aaron. – calii23 Oct 02 '17 at 22:05

0 Answers0