I am pleased to announce a new version of ring-middleware-format <https://github.com/ngrunwald/ring-middleware-format>, with the main highlight being transit support both for decoding requests bodies and encoding responses. ring-middleware-format is a Ring middleware that transparently handles decoding from multiple formats and encoding responses in the same formats. As it also supports JSON, it should be possible to easily introduce Transit in Ring web apps while still maintaining backward compatibility for legacy clients. I hope you find it useful.
Some features: - Ring compatible middleware, works with any web framework build on top of Ring - Automatically parses requests and encodes responses according to Content-Type and Accept headers - Automatically handles charset detection of requests bodies, even if the charset given by the MIME type is absent or wrong (using ICU) - Automatically selects and uses the right charset for the response according to the request header - Varied formats handled out of the box (*JSON*, *YAML*, *EDN*, *Transit over JSON or Msgpack*) - Pluggable system makes it easy to add to the standards encoders and decoders custom ones (proprietary format, Protobuf, specific xml, csv, etc.). Pull requests welcome. Here is the detailed changelog for this version: https://github.com/ngrunwald/ring-middleware-format/blob/master/Changes.md Project home https://github.com/ngrunwald/ring-middleware-format -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.