Liking cljdoc? Tell your friends :D

cli-matic.optionals

clj

This namespace contains optional dependencies for CLJ.

CLI-matic is supposed to work whether they are present or not.

  • JSON (Cheshire)
  • YAML (io.forward/yaml)
  • Orchestra

Detection is taken from core.clj in https://github.com/dakrone/clj-http

### This namespace contains optional dependencies for CLJ.

CLI-matic is supposed to work whether they are present or not.

* JSON (Cheshire)
* YAML (io.forward/yaml)
* Orchestra

Detection is taken from `core.clj` in https://github.com/dakrone/clj-http

cljs
### This namespace contains optional dependencies for CLJS.

JSON is always available in CLJS.

raw docstring

is-core-async-channel?clj

(is-core-async-channel? c)

Is this entity a core.async channel?

Is this entity a core.async channel?
sourceraw docstring

json-decodeclj/s≠

(json-decode json)
clj

Decodes a JSON string, without keywordizing.

Decodes a JSON string, without keywordizing.
cljs

We should use Transit if present, but this should be enough to get us started.

https://cljs.github.io/api/cljs.core/js-GTclj

We should use Transit if present, but this should be enough to get us started.

https://cljs.github.io/api/cljs.core/js-GTclj
source (clj)source (cljs)raw docstring

json-decode-cheshireclj

(json-decode-cheshire & args)

Resolve and apply Cheshire's json decoding dynamically.

Resolve and apply Cheshire's json decoding dynamically.
sourceraw docstring

orchestra-instrumentclj/s≠

(orchestra-instrument)
clj

If Orchestra is present, runs instrumentation. If absent, do nothing.

While we are at it, we set up Expound to print meaningful errors.

Expound is a mandatory dependency, so we take for granted it's there.

The *explain-out* binding will NOT be there in a compiled uberjar, unless we call with-bindings, so we just go check. It will succeed from the REPL.

Ref: https://github.com/clojure/clojure/blob/clojure-1.9.0/src/clj/clojure/main.clj#L85

If Orchestra is present, runs instrumentation.
If absent, do nothing.

While we are at it, we set up Expound to
print meaningful errors.

Expound is a mandatory dependency,  so
we take for granted it's there.


The `*explain-out*` binding will NOT be there in a compiled
uberjar, unless we call `with-bindings`,
so we just go check. It will succeed from the REPL.

Ref: https://github.com/clojure/clojure/blob/clojure-1.9.0/src/clj/clojure/main.clj#L85

cljs
source (clj)source (cljs)raw docstring

read-value-from-core-async-channelclj

(read-value-from-core-async-channel & args)

Reads a value from a core.async channel, blocking.

Reads a value from a core.async channel, blocking.
sourceraw docstring

with-cheshire?clj

source

with-core-async?clj

source

with-orchestra?clj

source

with-yaml?clj

source

yaml-decodeclj/s≠

clj
(yaml-decode & args)

Resolve and apply io.forward/yaml's yaml decoding dynamically.

Resolve and apply io.forward/yaml's yaml decoding dynamically.
cljs
(yaml-decode & _)
source (clj)source (cljs)raw docstring

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

× close