cldwalker/datomic-client — pull request #1 by crnixon (2012-09-11 19:48:44+00:00)
Title: Parse returned data with edn

RestClient has a callback mechanism to parse responses, which is great, since they do some funky stuff to responses. In particular, they extend the instance with a bunch of methods. I have written a callback that does the same stuff they do, but also attempts to parse the response as **edn** so it will return Ruby data. If the response cannot be parsed, the original text is returned.