clj-http icon indicating copy to clipboard operation
clj-http copied to clipboard

How to add cheshire?

Open philippludwig opened this issue 7 months ago • 0 comments

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.

philippludwig avatar May 02 '25 16:05 philippludwig