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.
sourceraw docstring

default-loader-optionsclj

(default-loader-options)
source

flow-stylesclj

source

generate-streamclj

(generate-stream writer data & opts)

Dump the content of data as yaml into writer.

Dump the content of data as yaml into writer.
sourceraw docstring

generate-stringclj

(generate-string data & opts)
source

make-dumper-optionsclj

(make-dumper-options {:keys [flow-style indent indicator-indent]})
source

make-loader-optionsclj

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

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.
sourceraw docstring

markclj

(mark start end marked)

Mark some data with start and end positions.

Mark some data with start and end positions.
sourceraw docstring

Markedclj

source

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.
sourceraw docstring

parse-streamclj

(parse-stream reader & {:keys [keywords] :or {keywords true} :as opts})
source

parse-stringclj

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

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.
sourceraw 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)
sourceraw docstring

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

× close