Hello, just a quickie, is it possible to use some middleware to automatically process JSON array as Clojure vector?
:params {:contact_id "1", :companies "[1, 2]"},
Thanks a lotI can do (get-in request [:params :companies])
, however the array is interpreted as string
I am using wrap-json-params
from ring.middleware.json
Yes, but you’ll need to write your own middleware, @pter.mensik