I have a string:
{:id 1, :name "Ab Bc Cd", :sex "M", :birth "01.01.1999", :address "Street 1", :oms "0001"}
And i need to convert it to HashMap but
(hash-map my-str)
returns {} So i splited it:
(s/split my-str ",")
And it returns
[:id 1 :name "Ab Bc Cd" :sex "M" :birth "01.01.1999" :address "Street 1" :oms "0001"]
Then
for [x my-arr]
(hash-map x)
returns
({} {} {} {} {} {})
How can i do this?