A Clojure library containing utility functions for nested objects. The purpose is to augment existing core functionality. This contains conversions to and from flat representation of nested structure.
This library is divided to three parts:
[flathead "0.0.4"]
Convert a flat object to a nested tree object:
(flatten/flat->tree {:a_x 1, :a_y 2 :b 3}) -> {a: {:x 1 :y 2} :b 3}
and its inverse - nested tree to a flat representation:
(flatten/tree->flat {a: {:x 1 :y 2} :b 3}) -> {:a_x 1, :a_y 2 :b 3}
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close