W3C home > Mailing lists > Public > public-linked-json@w3.org > December 2014

Fwd: Limitations on JSON which conforms to JSON-LD spec?

From: Jauco Noordzij <jauco.noordzij@gmail.com>
Date: Tue, 2 Dec 2014 09:02:15 +0100
Message-ID: <CAGAjwUQUwbdhjLp3RrustJhr5ADX7ajq0-PrSu6MqduixjBYEQ@mail.gmail.com>
Cc: public-linked-json <public-linked-json@w3.org>
As I understand it, this workaround can't be used when the keys are used in
the toplevel object as is done in https://github.com/tobie/specref

See also my naive try at:


http://json-ld.org/playground/index.html#startTab=tab-compacted&json-ld=%7B%22FileAPI%22%3A%7B%22authors%22%3A%5B%22Arun%20Ranganathan%22%2C%22Jonas%20Sicking%22%5D%2C%22date%22%3A%2212%20September%202013%22%2C%22deliveredBy%22%3A%5B%7B%22shortname%22%3A%22webapps%22%2C%22url%22%3A%22http%3A%2F%2Fwww.w3.org%2F2008%2Fwebapps%2F%22%7D%5D%2C%22edDraft%22%3A%22http%3A%2F%2Fdev.w3.org%2F2006%2Fwebapi%2FFileAPI%2F%22%2C%22href%22%3A%22http%3A%2F%2Fwww.w3.org%2FTR%2FFileAPI%2F%22%2C%22id%22%3A%22FileAPI%22%2C%22publisher%22%3A%22W3C%22%2C%22status%22%3A%22LCWD%22%2C%22title%22%3A%22File%20API%22%7D%2C%22rfc2119%22%3A%7B%22authors%22%3A%5B%22S.%20Bradner%22%5D%2C%22date%22%3A%22March%201997%22%2C%22href%22%3A%22http%3A%2F%2Fwww.ietf.org%2Frfc%2Frfc2119.txt%22%2C%22id%22%3A%22rfc2119%22%2C%22publisher%22%3A%22IETF%22%2C%22status%22%3A%22Best%20Current%20Practice%22%2C%22title%22%3A%22Key%20words%20for%20use%20in%20RFCs%20to%20Indicate%20Requirement%20Levels%22%7D%7D&frame=%7B%7D&context=%7B%22%40container%22%3A%22%40index%22%7D

regards,
     Jauco

On Tue, Dec 2, 2014 at 12:57 AM, ☮ elf Pavlik ☮ <
perpetual-tripper@wwelves.org> wrote:

> On 12/02/2014 12:17 AM, Nicholas Bollweg wrote:
> > As we have seen a number of times here on the list, objects made from an
> > unknowably large set of of keys are hard to do anything compelling
> > with... see package.json//dependencies/,
> ipython.ipynb//cells/output/data/.
> I think I understand. What in plain JSON people may tend to structure as
> object with keys and values. In JSON-LD people would use array of
> objects instead.
>
> I've send emails lately here about it: "using object keys in JSON-LD"
> http://lists.w3.org/Archives/Public/public-linked-json/2014Oct/0004.html
>
> To my understanding, JSON-LD Data Indexing (which Markus pointed me to
> on thread above), provides a useful construct for those cases.
> http://www.w3.org/TR/json-ld/#data-indexing
>
>
Received on Tuesday, 2 December 2014 08:03:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:53:26 UTC