[redland-dev] json serialization

Seaborne, Andy andy.seaborne at hp.com
Wed Jul 12 10:08:22 BST 2006




-------- Original Message --------
> From: Dave Beckett <>
> Date: 11 July 2006 15:02
> 
> Eric Hanson wrote:
> > I noticed Rasql can output in JSON which is really cool!
> > 
> > Any plans to add JSON as an serialization format from
> > librdf_serializer_serialize_model_to_string?  Anybody written their
> > own? 
> 
> There's no plans, mostly because of the usual reasons (time) but also
> that I haven't seen a decent rdf-triples-in-JSON syntax design yet. 
> The SPARQL results in JSON was an easy translation in comparison. 

One format that I have seen suggested is to use the result set
serialization of a
SELECT ?s ?p ?o { ?s ?p ?o } query.  After that, designs start adding
space saving features like prefixed names, property lists and object
lists.

The query form is low cost to implementers :-)

	Andy
 
> 
> Dave


More information about the redland-dev mailing list