Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 353 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 353 Bytes

ring-json-params

Ring middleware that augments :params according to a parsed JSON request body.

Takes optional parameter json-key, if given wraps the JSON parameters in it's own map: {json-key parsed-json}. (Useful if the JSON expected does not merge into a map elegantly, for example an array of numbers.)