Re: JSON-LD & nested structure

It may well be implemented, but not tested. If not, given a couple of tests, it shouldn't be hard to add. 

Gregg Kellogg
Sent from my iPhone

> On Jul 29, 2016, at 12:41 PM, Aymeric Brisse <aymeric.brisse@gmail.com> wrote:
> 
> @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 17:25:29 UTC