[occi-wg] JSON collection rendering

Jean Parpaillon jean.parpaillon at free.fr
Fri Jan 17 03:41:16 EST 2014


Hi Boris,
May I understand it implies the 2nd approach ? :)

{ resources: { id: ... 

Cheers 
Jean

Le jeudi 16 janvier 2014 à 22:42 +0100, Boris Parak a écrit :
> Hi Jean,
> 
> rOCCI is built on top of the JSON spec and we are using the latter. At
> least for me, the document implies this approach, although it's not
> explicitly mentioned there.
> 
> Cheers, Boris
> 
> On Thu, Jan 16, 2014 at 3:02 PM, Jean Parpaillon
> <jean.parpaillon at free.fr> wrote:
> > Hi all,
> > I have found no description of collection rendering in JSON draft.
> > For those who implemented it, how do you achieve it ?
> >
> > If collection is a type on its own, we could have the following
> > notation:
> > { collection : [ id1, id2, id3, ... ]}
> >
> > We can also imagine the following:
> > { resources: [ { id: ...}, { id: ... } ] }
> > or
> > { links: [ { id: ... }, { id: ... }] }
> >
> >
> > Cheers,
> > --
> > Jean Parpaillon
> > Open Source Consultant
> > Phone: +33 6 30 10 92 86
> > im: jean.parpaillon at gmail.com
> > skype: jean.parpaillon
> > linkedin: http://www.linkedin.com/in/jeanparpaillon/en
> >
> > _______________________________________________
> > occi-wg mailing list
> > occi-wg at ogf.org
> > https://www.ogf.org/mailman/listinfo/occi-wg

-- 
Jean Parpaillon
Open Source Consultant
Phone: +33 6 30 10 92 86
im: jean.parpaillon at gmail.com
skype: jean.parpaillon
linkedin: http://www.linkedin.com/in/jeanparpaillon/en



More information about the occi-wg mailing list