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:

http://jibbering.com/blog/?p=514

8 comments to JSON mime-type

  • character

    json.org says that it should be e.g. {“entity1″: “value”} instead of {entity1: “value”}.

  • Jonny

    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.

  • Quinn

    Let me second Jonny – this is exactly what I needed to know. (And it comes up first when you Google json mime-type, too.)

  • Joe

    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”.

  • Tom

    Funny, this helped me too

  • Mere Grand Mitsou

    je suis très heureuse de la venue sur terre du petit adrien, un peu plus tôt que prévu, de quoi bousculer ses parents….! j’envoie des câlins-doudoune à mon petit-fils….

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*