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-streamclj

(generate-stream writer data & opts)

Dump the content of data as yaml into writer.

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

generate-stringclj

(generate-string data & opts)

make-dumper-optionsclj

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

make-loader-optionsclj

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

make-yamlclj

(make-yaml &
           {:keys [unknown-tag-fn 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

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-streamclj

(parse-stream
  reader
  &
  {:keys [keywords load-all unknown-tag-fn] :or {keywords true} :as opts})

parse-stringclj

(parse-string string
              &
              {:keys [unknown-tag-fn unsafe mark keywords
                      max-aliases-for-collections allow-recursive-keys
                      allow-duplicate-keys load-all]
               :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 unknown-tag-fn)

encodeclj

(encode data)
raw docstring

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

× close