Liking cljdoc? Tell your friends :D
Clojure only.

jsonista.tagged-value


moduleclj

(module {:keys [keyword-tag] :or {keyword-tag "!kw"}})

Create a Jackson Databind module to support losslessly encoded tagged values.

This provides both encoders and decoders and is a means of using jsonista to replace something like transit, while still maintaining support for more EDN types. Types are encoded using a JSON list and a customizable tag. For example, :foo/bar would serialize to ["!kw", "foo/bar"] by default, where the first string in the JSON list is a tag for what follows.

For now, supported additional types are:

  • Keyword
Create a Jackson Databind module to support losslessly encoded tagged values.

This provides both encoders and decoders and is a means of using jsonista to replace something
like transit, while still maintaining support for more EDN types. Types are encoded using a JSON
list and a customizable tag. For example, `:foo/bar` would serialize to `["!kw", "foo/bar"]`
by default, where the first string in the JSON list is a tag for what follows.

For now, supported additional types are:

* Keyword
sourceraw docstring

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

× close