JSON to and from Clojure data, with keys that round-trip.
Object keys are read as keywords. A keyword is written as its full text, namespace included, so a key such as "a/b" in a tool input survives being read as :a/b and written back.
JSON to and from Clojure data, with keys that round-trip. Object keys are read as keywords. A keyword is written as its full text, namespace included, so a key such as "a/b" in a tool input survives being read as :a/b and written back.
(read-str s)JSON text to data, with object keys as keywords.
JSON text to data, with object keys as keywords.
(write-str x)Data to JSON text. A keyword key keeps its namespace.
Data to JSON text. A keyword key keeps its namespace.
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 |