Skip to content

Commit

Permalink
Add date-format and key-fn to wrap-json-response doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
drake.aren committed Oct 13, 2020
1 parent f361e62 commit 8765efc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ring/middleware/json.clj
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
Accepts the following options:
:date-format - an optional date format string that Date objects will be encoded with
:key-fn - fn that will be applied to each key
:pretty - true if the JSON should be pretty-printed
:escape-non-ascii - true if non-ASCII characters should be escaped with \\u
:stream? - true to create JSON body as stream rather than string"
Expand Down

0 comments on commit 8765efc

Please sign in to comment.