Posts tagged json

JSON native object

Why did it take me so long to find the docs on the native JSON object? Too many blog posts on other implementations of JSON and JSONP with third-party libraries (I still love you, jQuery). https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/JSON IE 7 doesn’t support it… I’ll have to check my analytics and see if that even matters anymore…

JSON content type in classic ASP

I spent a considerable portion of my morning yesterday trying to get my classic ASP to serve up JSON to an application I’m working on. Finally, I found a subtle difference in the “Response.ContentType” property and “Response.AddHeader()” method (I code in JavaScript, btw). I set “Response.ContentType = ‘application/json’” and it always returned a nicely-formatted JSON [...]