14
0 Comments

I’ve been playing around with JSON for some time. Displaying it as plain-text doesn’t hurt anybody, but I would like to do it properly. There are so many standards for the JSON content-type:

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

Which is the correct one? Or best one? I heard that there are browser/security issues with some of the types?

Answered question