W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > December 2009

Re: RDFa without using xmlns:

From: Toby Inkster <tai@g5n.co.uk>
Date: Tue, 08 Dec 2009 16:56:13 +0000
To: martin@weborganics.co.uk
Cc: Mark Birbeck <mark.birbeck@webbackplane.com>, RDFa <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <1260291373.1713.87.camel@ophelia2.g5n.co.uk>
On Tue, 2009-12-08 at 14:59 +0000, Martin McEvoy wrote:
> The json example you provided above seems to be invalid json,
> (unquoted strings, not key => value pairs ) so I am a little at a loss
> at what you are attempting to do, so I will guess here is how I would
> represent your example in json and you tell me what I am missing....

That's rather my point. The example I posted (which was a quote from the
RDFj wiki page on Google Code) *cannot* be represented in JSON because
JSON doesn't have a data type equivalent to Javascript's first-class
function objects.

Thus RDFj is not JSON - it's Javascript. (Or rather, it uses a format
that's a subset of Javascript but a superset of JSON.)

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 8 December 2009 16:56:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 December 2009 16:56:58 GMT