ring-clojure / ring-json

Ring middleware for handling JSON
313 stars 47 forks source link

Request: Add the :keywords? option to wrap-json-params #36

Closed Malabarba closed 9 years ago

Malabarba commented 9 years ago

This option is only available to wrap-json-body, but it seems sensible that it would also be applicable to wrap-json-params.

weavejester commented 9 years ago

You can use wrap-keyword-params for this. Adding :keywords? to wrap-json-params would make it inconsistent with all the other wrap-*-params functions, which always deliver maps that have string keys.

Malabarba commented 9 years ago

That's good to know. Thanks!