RE: Re: [unhosted] getting social: defining the 'contacts' category

> I'm not sure about whether to use prefixes. What are the pros/cons in
> terms of JSON-LD?

Pros: Smaller context
Cons: When accessing data you have to use data["v:email"] vs.

> But as Michiel said earlier in this thread, in the end it doesn't
> really matter what format we use for storage, as at least on the
> JavaScript front we provide the library to access the data. That can
> still convert to "pure" jCards or whatever.

The advantage of JSON-LD in this case is that you can use it for other stuff
as well, it isn't limited to jCards. This could simplify your library and
drastically reduce the amount of custom code you have to write. We also have
an API for JSON-LD [1] and especially framing [2] is quite powerful (it is
currently in a separate document because it's not yet stable enough to hand
it over to W3C).


Markus Lanthaler

Received on Wednesday, 20 June 2012 14:01:18 UTC