Correct MIME type for returning JSON entity

Possible Duplicate:
The *right* JSON content type?

I am using Java for the server side programming, and I want to return JSON data from the server side. I have come across the several return formats of JSON as below

application/json
text/javascript
text/x-json
application/x-javascript
text/x-javascript

Out of which, according to the standard, what should be used as the correct format of the MIME type?


在这里,RFC 4627是JSON的MIME类型的行业标准,它说JSON响应MIME类型的正确格式应该是application/json

链接地址: http://www.djcxy.com/p/1238.html

上一篇: “application / json”是什么意思

下一篇: 正确的MIME类型用于返回JSON实体