2012/8/27 Denis Labaye <denis.lab...@gmail.com> > Fetch JSON with clj-http AND extract informations from it with enlive. > > Does anyone know what's the most straightforward way to do that? >
Enlive currently is tied to selecting and transforming XML. I have a branch of enlive on my computer, on which I've decoupled enlive from its data representation and pulled out all the XML specific parts, leaving a general purpose selection and transformation engine. The selection engine is done and should be able to select nodes out of any tree-like structure. If you are interested I can release it, before finishing the transformation part and the XML bindings. It would be a nice proof of concept to use it for selecting JSON. Beware however, that unless you have a very complicated JSON format, clojure's destructuring might be a better fit for your JSON parsing needs. kind regards -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en