SignalR/SignalR — pull request #1996 by DamianEdwards (2013-05-07 03:53:06+00:00)
Title: Support custom json object in JS client

- Added connection.prototype.json which is initialized as window.JSON
- Changed default ajax content type to text
- Added connection._parseRespons helper to parse ajax responses from text to JSON (when it's not JSONP)
- Update all JS client code to use connection._parseResponse
- Added unit & functional tests
- Updated affected tests
- #1564