This page demostrates Ajax.JSONRequest and Ajax.JSONResponse,
a JSONP
implementation for Prototype.js.
Open up your JavaScript console and reload the page to see it work.
There is a ticket logged in the Prototype.js bug tracker (Lighthouse) requesting this feature. If you also want this feature added to core, head over there and say so.
Log bugs and request features on Github.