JSON-related utilites transferred from the lambda.util namespace into a separate module.
The idea behind this is to not depend on the whole edd-core library when only JSON-related capabilities are required.
JSON-related utilites transferred from the lambda.util namespace into a separate module. The idea behind this is to not depend on the whole edd-core library when only JSON-related capabilities are required.
(decode-json-special v)(to-edn src)Read a source into a Clojure data structure. A source can be a string, a byte array, an input stream, a file and so on.
Read a source into a Clojure data structure. A source can be a string, a byte array, an input stream, a file and so on.
(to-json data)Turn an arbitrary Clojure data structure into a JSON string.
Turn an arbitrary Clojure data structure into a JSON string.
(to-json-bytes data)Turn an arbitrary Clojure data structure into a byte array with a JSON payload (in UTF-8).
Turn an arbitrary Clojure data structure into a byte array with a JSON payload (in UTF-8).
(to-json-out out data)Write a value into an ouput that can be a file, an output stream, a writer, etc.
Write a value into an ouput that can be a file, an output stream, a writer, etc.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |