- From: Markus Lanthaler <markus.lanthaler@gmx.net>
- Date: Wed, 20 Jun 2012 16:00:40 +0200
- To: "'nil'" <nil.niklas@googlemail.com>, "'elf Pavlik'" <perpetual-tripper@wwelves.org>
- Cc: "'public-linked-json'" <public-linked-json@w3.org>, <unhosted@googlegroups.com>
> 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. data.email > 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). [1] http://www.json-ld.org/spec/latest/json-ld-api/ [2] http://www.json-ld.org/spec/latest/json-ld-framing/ -- Markus Lanthaler @markuslanthaler
Received on Wednesday, 20 June 2012 14:01:18 UTC