Liking cljdoc? Tell your friends :D

io.github.ralfspoeth.cljson.impl

Implementation details of io.github.ralfspoeth.cljson. Not part of the public API; may change without notice.

Implementation details of io.github.ralfspoeth.cljson.
Not part of the public API; may change without notice.
raw docstring

clj->jsonclj

(clj->json x kf)

Converts Clojure data x into a Greyson JsonValue, applying kf to every map key. See io.github.ralfspoeth.cljson/->greyson.

Converts Clojure data `x` into a Greyson JsonValue, applying `kf`
to every map key. See io.github.ralfspoeth.cljson/->greyson.
raw docstring

json-keyclj

(json-key k)

Default key function for ->greyson: strings stay as they are, keywords lose the leading colon but keep their namespace (:a -> "a", :my.ns/a -> "my.ns/a"), anything else goes through str.

Default key function for ->greyson: strings stay as they are,
keywords lose the leading colon but keep their namespace
(:a -> "a", :my.ns/a -> "my.ns/a"), anything else goes
through `str`.
raw docstring

JsonToCljcljprotocol

Converts a Greyson JsonValue into Clojure data. Use io.github.ralfspoeth.cljson/->clj instead of calling this directly.

Converts a Greyson JsonValue into Clojure data.
Use io.github.ralfspoeth.cljson/->clj instead of calling this
directly.

-cljclj

(-clj v key-fn)

Returns the Clojure representation of v, applying key-fn to every object member name.

Returns the Clojure representation of `v`, applying `key-fn`
to every object member name.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close