📜  正确的 json 类型 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:10.898000             🧑  作者: Mango

代码示例1
For JSON text:

application/json

The MIME media type for JSON text is application/json. 
The default encoding is UTF-8. (Source: RFC 4627).

For JSONP (runnable javascript) with callback:

application/javascript