Re: [JSON] PROPOSAL: Syntax structure should be object-based

On 16 Mar 2011, at 18:02, Sandro Hawke wrote:
> If users have to call rdf_in_json.parse() then why shouldn't they just use turtle.parse() instead?  

Because rdf_in_json.parse() would return something semi-sensible if you pass any JSON response (e.g., from the Twitter API as it exists today) through it.

And if Twitter added a bit of '#':{...} magic to their JSON, then it could actually return properly modeled RDF.

Getting Twitter to publish something that's understood by turtle.parse() would likely be harder.

(I'm still not sure if I fully believe the above, but I guess this is what motivated JSON-LD.)

Best,
Richard

Received on Wednesday, 16 March 2011 18:31:35 UTC