Format of links in the rest-api with json
Heiko W.Rupp
hrupp at redhat.com
Thu Mar 7 14:33:24 UTC 2013
Hi,
I've made a change today that changes the format of links from
{ rel:bla, href=http://.... }
to
{ bla : { href : http:// .. }}
This has the benefit, that in javascript you can now say something like
href = $document.links.bla.href;
without the need to first parse the whole map of links.
See also https://bugzilla.redhat.com/show_bug.cgi?id=845244
Heiko
--
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschaeftsführer: Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.fedorahosted.org/pipermail/rhq-devel/attachments/20130307/e4ca8da3/attachment.sig>
More information about the rhq-devel
mailing list