I am looking for a way to either:
Do a cross domain plain JSON request a-la YUI IO (http://developer.yahoo.com/yui/3/examples/io/io-xdr.html with Basic Authentication)
or alternatively,
Have Sharepoint 2010's ListData.svc support JSON-P (e.g. /_vti_bin/listdata.svc/?$format=json&$callback=loaded) so I can use jQuery.ajax to make a Basic Authenticated request.
Just to clarify, I'm not sure how the Yahoo example above could support basic authentication (jQuery is a simple mattery). Secondly, the error Sharepoint 2010 throws when attempting JSON-P is:
The query parameter '$format' begins with a system-reserved '$' character but is not recognized.
I know we can retro-fit standard WCF Data Services via http://code.msdn.microsoft.com/DataServicesJSONP but I'm not sure about Sharepoint.
As I am sure some can imagine this would be incredibly useful. Does anyone have an idea of how this could work?