(read-edn-resource path)
Read a file from "resources/" during compilation. Returns EDN.
Read a file from "resources/" during compilation. Returns EDN.
(read-json-resource path)
(read-json-resource path at-replacement)
Read a file from "resources/" during compilation. Returns EDN.
Optional at-replacement arg is what replaces the @
symbol during JSON
parsing (_
by default). Removes spaces in keywords.
Read a file from "resources/" during compilation. Returns EDN. Optional at-replacement arg is what replaces the `@` symbol during JSON parsing (`_` by default). Removes spaces in keywords.
(read-resource path)
Read a file from "resources/" during compilation. Returns a string. NOTE: The resulting string must be assigned to a def, or else it will nil out for some mysterious reason.
Read a file from "resources/" during compilation. Returns a string. NOTE: The resulting string must be assigned to a def, or else it will nil out for some mysterious reason.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close