JSON mime-type
Just a reminder for me :-)
- mime-type:application/json
- use lower case
- objectname: {}
- arrayname: []
- entity1: “value”, entity2: “value”
- Encoding: UTF-8
RFC:
http://www.ietf.org/rfc/rfc4627.txt
Blogs:
JSON mime-typeJust a reminder for me :-)
RFC: http://www.ietf.org/rfc/rfc4627.txt Blogs: 7 comments to JSON mime-typeLeave a Reply |
||
|
Copyright © 2010 Sébastien Barbieri's blog - All Rights Reserved |
||
good!
Thanks.
json.org says that it should be e.g. {“entity1″: “value”} instead of {entity1: “value”}.
I think you are incorrect in your article here, primarily about this just being a reminder for you. Clearly this is not just a reminder for you because I googled “JSON MIME type” and this article came-up. I needed to finish my J2EE project and therefore needed a reminder for the JSON content-type header. I understand this is merely an empirical claim, but sufficient to counter your argument that this is just a reminder for you; it has in-fact helped me as well, and perhaps these other folks in your comments. You have inadvertently made the world a better place with this post without your fully being aware of the fact.
Let me second Jonny – this is exactly what I needed to know. (And it comes up first when you Google json mime-type, too.)
I have to agree with my esteemed peers Quinn and jonny, you have illuminated the dark cavern of JSON mime types with your own brilliance. Three cheers to you, comrade Barbieri and a sincere “Thank You”.
Funny, this helped me too