Liking cljdoc? Tell your friends :D

clj-yaml.core


default-dumper-optionsclj

(default-dumper-options)

clj-yaml 0.5.6 used SnakeYAML 1.13 which by default did not split long lines. clj-yaml 0.6.0 upgraded to SnakeYAML 1.23 which by default did split long lines. This ensures that generate-string uses the older behavior by default, for the sake of stability, i.e. backwards compatibility.

clj-yaml 0.5.6 used SnakeYAML 1.13 which by default did *not* split long
lines. clj-yaml 0.6.0 upgraded to SnakeYAML 1.23 which by default *did* split
long lines. This ensures that generate-string uses the older behavior by
default, for the sake of stability, i.e. backwards compatibility.
raw docstring

default-loader-optionsclj

(default-loader-options)

flow-stylesclj


generate-stringclj

(generate-string data & opts)

make-dumper-optionsclj

(make-dumper-options & {:keys [flow-style]})

make-loader-optionsclj

(make-loader-options &
                     {:keys [max-aliases-for-collections allow-recursive-keys
                             allow-duplicate-keys]})

make-yamlclj

(make-yaml &
           {:keys [dumper-options unsafe mark max-aliases-for-collections
                   allow-recursive-keys allow-duplicate-keys]})

Make a yaml encoder/decoder with some given options.

Make a yaml encoder/decoder with some given options.
raw docstring

markclj

(mark start end marked)

Mark some data with start and end positions.

Mark some data with start and end positions.
raw docstring

Markedclj


marked?clj

(marked? m)

Let us know whether this piece of data is marked with source positions.

Let us know whether this piece of data is marked with source positions.
raw docstring

parse-stringclj

(parse-string string
              &
              {:keys [unsafe mark keywords max-aliases-for-collections
                      allow-recursive-keys allow-duplicate-keys]
               :or {keywords true}})

unmarkclj

(unmark m)

Strip the source information from this piece of data, if it exists.

Strip the source information from this piece of data, if it exists.
raw docstring

YAMLCodeccljprotocol

A protocol for things that can be coerced to and from the types that snakeyaml knows how to encode and decode.

A protocol for things that can be coerced to and from the types
that snakeyaml knows how to encode and decode.

decodeclj

(decode data keywords)

encodeclj

(encode data)
raw docstring

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

× close