I have such terrible JavaScript code
response.items[0].fields.image.fields.file.url
I can convert it to ClojureScipt map, but to access that field I will have to type monstrous unreadable access. Is there a way to do it nice and elegant way way?
I recommend using cljs-oops library. It support nested "selectors" for your object graph, e.g.:
(oget o "k3.?k31.k311")
(oget o "k3" "?k31" :k311)
(oget o ["k3" "?k31" "k311"])
(oget o [["k3"] "?k31"] "k311")
cljs-oops and do recommend it, but also wanted to show the vanilla cljs solution.