(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |