Modified curies for JSON (Re: JSON-LD normalization algorithm and MongoDB)

] simply storing JSON-LD with all keys being
] CURIEs will avoid this issue, but it is worth noting that restriction.

One thing that I've seen done, which seems useful from the point 
of view of a Javascript programmer, is rather than express a 
CURIE as prefix:local to write it as prefix$local. The reason for
this being that in Javascript, $ is a valid character as part of
a name whereas : is not, enabling one to write,

  person.foaf$name

instead of 

  person["foaf:name"]

is this small convenience enough to matter? I'm not sure. But I
thought I'd mention it.

Cheers,
-w

-- 
William Waites                <mailto:ww@styx.org>
http://river.styx.org/ww/        <sip:ww@styx.org>
F4B3 39BF E775 CF42 0BAB  3DF0 BE40 A6DF B06F FD45

Received on Monday, 9 May 2011 08:47:53 UTC