does anyone know of any good resources for learning JSON? And preferably, if it even matters, from a .NET point of view? It seems like there aren’t any straight forward resources for learning it yet its obviously used extensively (facebook api and twitter api and many, many more). I know I’m not the only one with this question so I’m sure many would benefit from any answers posted.
Thanks.
The most thorough resource is the RFC. That is reasonable to read, but has good examples and will fill in the small gaps left in those tutorials. It does include a little you can probably gloss over, like how to auto-detect the Unicode encoding.
The Wikipedia article is also good now.
Make sure you also look into JSONP, which is a way of padding JSON with a JavaScript function call to get around same-domain restrictions.