Convert JSON to map

Asked

Viewed 59 times

0

I’m getting a json in key :body of the answer using a request clj-http. How to transform this json in map?

1 answer

0


Opa, I solved here, I used the :key-fn function, as below:

(json/read-str (return :body)
           :key-fn keyword) 

Browser other questions tagged

You are not signed in. Login or sign up in order to post.