Re: Recommendations for parsing/validating a JSON structure

2014-01-31 Thread Ivan L
Schema is really awesome. Very easy to use and even though the validation messages are a little cryptic, I think they'll work for libraries. My only irk with it so far is that it appears to modify the function prototype. (extend-protocol Schema js/Function ... Not sure why they need to exte

Re: Recommendations for parsing/validating a JSON structure

2014-01-27 Thread David Simmons
Thanks Korny. I'll take a look. cheers Dave -- -- 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. T

Re: Recommendations for parsing/validating a JSON structure

2014-01-27 Thread Korny Sietsma
Parsing is easy - use either https://github.com/clojure/data.json or https://github.com/dakrone/cheshire (Cheshire used to have some advantages over data.json but I have the impression data.json has caught up). For validation I've used Prismatic Schema - https://github.com/prismatic/schema - it's