clj-http
clj-http copied to clipboard
How to add cheshire?
So the README tell me that I need "cheshire" to be able to send JSON data, but it does not tell me how to add it to my project. I looked for documentation on how to add optional dependencies in clojure projects with leiningen, but found no helpful information.
So how do I do that? I tried
[clj-http "3.13.0" [cheshire]]
But that does not work. So I tried including cheshire on its own
[cheshire]
but it requires a version. Sadly, the README of clj-http does not state which version it wants.
Edit: So I added version 6.0 and it seems to work, but it would still be good to know what the preferred version is.