Liking cljdoc? Tell your friends :D

yunjia.util.misc


dot-notationclj

(dot-notation a-key a-map resource-map)

{:d 4 :e 5 :a {:b 1 :c 2}} -> {:d 4, :e 5, :a {:b 1, :c 2}, :a.b 1, :a.c 2}

{:d 4 :e 5 :a {:b 1 :c 2}} -> {:d 4, :e 5, :a {:b 1, :c 2}, :a.b 1, :a.c 2}
raw docstring

dot-notation->embedclj

(dot-notation->embed m)

{:a.b 1 :a.c 2} -> {:a [{:b 1 :c 2}]}

{:a.b 1 :a.c 2} -> {:a [{:b 1 :c 2}]}
raw docstring

embed->dot-notationclj

(embed->dot-notation resource-map)

{:d 4 :e 5 :a [{:b 1 :c 2}]} -> {:d 4 :e 5 :a.b 1 :a.c 2}

{:d 4 :e 5 :a [{:b 1 :c 2}]} -> {:d 4 :e 5 :a.b 1 :a.c 2}
raw docstring

embed->objclj

(embed->obj resource-map)

{:d 4 :e 5 :a [{:b 1 :c 2}]} -> {:d 4 :e 5 :a {:b 1 :c 2}}

{:d 4 :e 5 :a [{:b 1 :c 2}]} -> {:d 4 :e 5 :a {:b 1 :c 2}}
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close