W3C home > Mailing lists > Public > public-linked-json@w3.org > August 2011

typo in JSON-LD

From: Pierre-Antoine Champin <pierre-antoine.champin@liris.cnrs.fr>
Date: Tue, 23 Aug 2011 11:39:55 +0200
Message-ID: <4E53756B.5080203@liris.cnrs.fr>
To: public-linked-json@w3.org
Hi,

I just read quicly the JSON-LD spec, very nice piece of work!

I noticed that the last example in section 7.2 [1] contains an error

  {
    "@context": {
      ...
      "@context": {
       ^^^^^^^^
        "@list": ["foaf:nick"]
      }
    },
  ...
    "@subject": "http://example.org/people#joebob",
    "foaf:nick": ["joe", "bob", "jaybee"],
  ...
  }

the second '@context' should be '@coerce'.

 regards

  pa



[1] http://json-ld.org/spec/ED/20110817/#lists
Received on Friday, 26 August 2011 13:23:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:35 GMT