JSON alternatives to AtomPub

757 views
Skip to first unread message

Roy Jacobs

unread,
Sep 26, 2013, 10:06:11 AM9/26/13
to api-...@googlegroups.com
I quite like AtomPub as a concept for storing events in a system and then subsequently providing them as a set of linked feeds. What I don't like is that it's XML based.

There are some JSON implementations of the same concept, like the one used in Event Store (application/vnd.eventstore.atom+json, example here: https://github.com/eventstore/eventstore/wiki/HTTP-Overview).

I was wondering if there is a canonical way to handle this and, if not, what kind of alternatives you have implemented or considered.


Mike Kelly

unread,
Sep 26, 2013, 10:10:30 AM9/26/13
to api-...@googlegroups.com
Hi Roy,

If you want something collection/item based then you'll probably be
interested in collection+json

There are other json based types that do linking but aren't based
around collections:

- Siren
- hal+json
- hyperjson
- JSON hyper schema

HTH

Cheers,
M
> --
> You received this message because you are subscribed to the Google Groups
> "API Craft" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to api-craft+...@googlegroups.com.
> Visit this group at http://groups.google.com/group/api-craft.
> For more options, visit https://groups.google.com/groups/opt_out.



--
Mike

http://twitter.com/mikekelly85
http://github.com/mikekelly
http://linkedin.com/in/mikekelly123

Mike Amundsen

unread,
Sep 26, 2013, 11:06:29 AM9/26/13
to api-...@googlegroups.com
Collection+JSON was designed to be an Atom-like format with some added features (queries and write templates). You might want to check it out and see if it gives you ideas on how to solve your problem.


Roy Jacobs

unread,
Sep 26, 2013, 11:08:10 AM9/26/13
to api-...@googlegroups.com
Thanks, guys. It is indeed exactly what I was looking for. It's a shame it doesn't come up when googling for "JSON AtomPub alternatives" and that kind of thing :)

Steve Klabnik

unread,
Sep 26, 2013, 2:12:58 PM9/26/13
to api-...@googlegroups.com
There is also the seemingly defunkt http://rssjs.org/ , which is more
comparing to ATOM than ATOMpub...
Reply all
Reply to author
Forward
0 new messages