- From: Toby Inkster <tai@g5n.co.uk>
- Date: Tue, 08 Dec 2009 11:28:20 +0000
- To: martin@weborganics.co.uk
- Cc: Mark Birbeck <mark.birbeck@webbackplane.com>, RDFa <public-rdf-in-xhtml-tf@w3.org>
On Tue, 2009-12-08 at 11:15 +0000, Martin McEvoy wrote: > Mark mentioned that the page needs to be updated to use quotes ;) I was thinking more of this example: { /* bnode */ "a": "<http://www.w3.org/2004/09/fresnel#Format>", "http://www.w3.org/2004/09/fresnel#group": "<http://ubiquity-rdfa.googlecode.com/svn/trunk/_samples/formats/debug.html>", "http://ubiquity-rdfa.googlecode.com/action": function(obj) { . . . return; } } Including Javascript functions is a non-trivial extension of JSON, enough to make the data unparsable by virtually any JSON library, and (even if parsed OK) useless outside of environments that can evaluate Javascript. -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Tuesday, 8 December 2009 11:29:06 UTC