Liking cljdoc? Tell your friends :D

com.yetanalytics.pan.utils.resources


read-edn-resourcecljmacro

(read-edn-resource path)

Read a file from "resources/" during compilation. Returns EDN.

Read a file from "resources/" during compilation. Returns EDN.
sourceraw docstring

read-json-resourcecljmacro

(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.
sourceraw docstring

read-resourcecljmacro

(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.
sourceraw docstring

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

× close