(read-string s)
(read-string opts s)
Read configuration from a string of edn. Configuration keys may be denotied by tagging keys with #cnf/opt, #cnf/req and #cnf/or.
Example: (read-string "{:address #cnf/req [:tcp :address] :port #cnf/or [[:tcp :port] 80]}")
Read configuration from a string of edn. Configuration keys may be denotied by tagging keys with #cnf/opt, #cnf/req and #cnf/or. Example: (read-string "{:address #cnf/req [:tcp :address] :port #cnf/or [[:tcp :port] 80]}")
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close