Hacker News new | past | comments | ask | show | jobs | submit login

I think it's rare to see JSON HyperMedia data formats in the wild, XML seems the preferred choice due to its use of attributes for metadata annotation.

Here's on of the few examples I've found that uses JSON: http://restafari.blogspot.com/2010/10/evolving-hal.html




There's also this: http://microformats.org/wiki/rest/json which looks interesting enough to bookmark.


Although I dislike the use of XML in Ajax/SPA applications and very much side with Douglas Crockford in the JSON vs XML debate :) http://www.infoq.com/presentations/Heretical-Open-Source


Perhaps you could do some simple detection if a given field is a url (i.e., using a regexp) and auto-link it in the generated reports?


That won't work reliably with relative links. It also lacks any kind of link annotation (so, is this linked resource a "parent"? A "child"? Metadata? And so on).




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: