[JSON] Clarification on JSON-LD

Manu,

I try to familiarize with the different JSON inputs. Looking at JSON-LD, two questions:

Is it correct that 

{
  "foaf:name" : "Ivan" 
}

translates into

[ foaf:name : "Ivan" ]

ie, that if I do not have the "@" there, then it is considered to be a blank node in RDF terms?

Also, is it so that I can say 

{
  "ex:prop : { "foaf:name" : "Ivan" }
}

meaning

[ ex:prop [ foaf:name "Ivan" ] ]

ie, the subject can be a complete JSON object?

Thanks

Ivan

----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Thursday, 10 March 2011 14:03:19 UTC