What is the best MIME type for JSON content?
I have used both XML and JSON content types when working on webservices.
XML is fairly straightforward. We usually use
JSON though seems to be supporting multiple MIME types. I have seen these:
By looking at XML it seems that the correct JSON counterpart is application/json.
But does anyone know what the official standard is?
Juan Perez, Apr 20, 2013
I have used "application/json" in a Sencha app and it works great for IIS. IMO - others are optional formats.
May 03, 2013
According to RFC 4627 is is application/json
Use that one and you'll be fine.
Ian Barrymore, Aug 08, 2013