Closed erjoalgo closed 8 years ago
I manually used
(-> my-json-string (generate-string {:pretty true}))
Although I could've used
(-> my-handler (wrap-json-response {:pretty true}))
I found this by looking at the source, I think it would be good to add this to the doc/example since this looks like it should be a common request.
I may have missed it, but is there support for pretty-printing JSON responses?
I'm looking for something like python's json indent option: