I have a map like so
(client/post "http://localhost:5000" {:form-params {:new {:title "some-title" :description "some-description"}}})
In the server, I have the following:
(get-in request [:form-params "new"])
Which gives me the following:
"{:title \"some-title\", :description \"some-description\"}"
A string and not an actual map. Using the Cheshire library's parse-string
gives the ": unexpected" error. How do I fix this?