Liking cljdoc? Tell your friends :D

com.yetanalytics.datasim.util.io


println-collclj

(println-coll str-coll)

Print each string in str-coll followed by a newline to stdout, flushing the output buffer after each line.

Print each string in `str-coll` followed by a newline to stdout,
flushing the output buffer after each line.
sourceraw docstring

println-err-collclj

(println-err-coll err-str-coll)

Print each string in err-str-coll followed by a newline to stderr, flushing the output buffer after each line.

Print each string in `err-str-coll` followed by a newline to stderr,
flushing the output buffer after each line.
sourceraw docstring

read-json-locationclj

(read-json-location location)

Reads in a file from the given location and parses it into EDN. If the data being read is an array or sequence, return all the data as a seq.

Reads in a file from the given `location` and parses it into EDN. If
the data being read is an array or sequence, return all the data
as a seq.
sourceraw docstring

write-jsonclj

(write-json data writer & {:keys [key-fn?] :or {key-fn? true}})

Write the contents of data to writer, which can be returned by clojure.java.io/writer. Applies stringify-edn-key if key-fn? is true.

Write the contents of `data` to `writer`, which can be returned by
`clojure.java.io/writer`. Applies `stringify-edn-key` if `key-fn?` is
 `true`.
sourceraw docstring

write-json-fileclj

(write-json-file data location & {:keys [key-fn?] :or {key-fn? true}})

Write the contents of data to the file location; a file will be created if it does not exist. Stringifies keyword keys. Applies stringify-edn-key if key-fn? is true.

Write the contents of `data` to the file `location`; a file will be
created if it does not exist. Stringifies keyword keys. Applies
`stringify-edn-key` if `key-fn?` is `true`.
sourceraw docstring

write-json-stderrclj

(write-json-stderr data & {:keys [key-fn?] :or {key-fn? true}})

Write the contents of data to standard error. Applies stringify-edn-key if key-fn? is true.

Write the contents of `data` to standard error. Applies `stringify-edn-key`
if `key-fn?` is `true`.
sourceraw docstring

write-json-stdoutclj

(write-json-stdout data & {:keys [key-fn?] :or {key-fn? true}})

Write the contents of data to standard output. Applies stringify-edn-key if key-fn? is true.

Write the contents of `data` to standard output. Applies `stringify-edn-key`
if `key-fn?` is `true`.
sourceraw docstring

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

× close