ring-clojure / ring-json

Ring middleware for handling JSON
313 stars 47 forks source link

Only merge maps into request/:params #16

Closed ryfow closed 10 years ago

ryfow commented 10 years ago

If a json array is passed in through the request body, merge fails with a

   java.lang.IllegalArgumentException: Vector arg to map conj must be a pair

This avoids trying the merge.