Edn facilities: like the standard clojure.edn but powered with custom readers.
Edn facilities: like the standard clojure.edn but powered with custom readers.
(read src)
(read src opt)
Read EDN from a source which can be a file path,
an input stream, a reader, etc (anything that
can be courced with clojure.java.io/input-stream
).
Accepts the standard EDN options. The :readers
map
gets merged with the custom global readers.
Read EDN from a source which can be a file path, an input stream, a reader, etc (anything that can be courced with `clojure.java.io/input-stream`). Accepts the standard EDN options. The `:readers` map gets merged with the custom global readers.
(read-string string)
(read-string string opt)
Like read
but accepts a string.
Like `read` but accepts a string.
(write dest data)
Like write-string
but accepts a destination: a file path
a file, an output stream, a writer, etc (anything that
clojure.java.io/output-stream
accepts).
Like `write-string` but accepts a destination: a file path a file, an output stream, a writer, etc (anything that `clojure.java.io/output-stream` accepts).
(write-string data)
Write data into an EDN string (with pretty printing.)
Write data into an EDN string (with pretty printing.)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close