W3C home > Mailing lists > Public > public-linked-json@w3.org > July 2016

Re: JSON-LD & nested structure

From: Aymeric Brisse <aymeric.brisse@gmail.com>
Date: Fri, 29 Jul 2016 18:41:45 +0200
Message-ID: <CANURzhigbY992RgyoSE7WVEuDUiy6wfW0HjskjRoL3JrO4OcDg@mail.gmail.com>
To: Dave Longley <dlongley@digitalbazaar.com>
Cc: Gregg Kellogg <gregg@greggkellogg.net>, public-linked-json@w3.org
@Dave : I was talking about the ruby gem json-ld:

frame = JSON.parse %({
  "@id": "http://www.myresource/uuid"
})

JSON::LD::API.frame(input, frame) returns the same structure

@Gregg : any plan on updating it?

On Fri, Jul 29, 2016 at 6:04 PM, Dave Longley <dlongley@digitalbazaar.com>
wrote:

> On 07/29/2016 11:55 AM, Aymeric Brisse wrote:
>
>> @Gregg : I cannot assume that the property will only be used by the
>> top-level element.
>>
>> @Dave : already tried it but it doesn't work
>>
>
> I modified Gregg's example and it worked for me:
>
> http://json-ld.org/playground/#/gist/bd569269ce69a8fe7ecebde0713acc73
>
>
>
> --
> Dave Longley
> CTO
> Digital Bazaar, Inc.
> http://digitalbazaar.com
>
Received on Friday, 29 July 2016 16:42:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:48 UTC