W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2010

Re: Call for issues and comment on JSON result format

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Tue, 21 Dec 2010 21:30:36 +0000
Message-ID: <4D111C7C.9090801@epimorphics.com>
To: Gregory Williams <greg@evilfunhouse.com>
CC: SPARQL Working Group <public-rdf-dawg@w3.org>
On 21/12/10 17:08, Gregory Williams wrote:
> On Dec 14, 2010, at 8:22 AM, Andy Seaborne wrote:
>> This message is collect any issues and comments on the DAWG Note:
>> "Serializing SPARQL Query Results in JSON"
>> http://www.w3.org/TR/rdf-sparql-json-res/
>> Please reply to this message with any issues on this Note within one week so we can assess the practical implications of taking this through to REC as part of this working group.
> I wanted to ask whether there'd be any support for adding JSONP[1] to the json results format. This would probably also involve the Protocol doc. It would allow easier use of sparql from within browsers.

I don't see anything to add to the JSON result doc (the results format) 
- did you have anything specific in mind?

> I'm not sure how prevalent support currently is, but I believe both ARC and Joseki currently implement JSONP.

Joseki (and Fuseki, the in-development successor) provide it with the 
parameter name "callback" (Yahoo! 

add ?callback=FUNCTION and ask for JSON, and it comes back

FUNCTION({... json results ...})


> .greg
> [1] http://en.wikipedia.org/wiki/JSON#JSONP
Received on Tuesday, 21 December 2010 21:31:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:02 UTC