Liking cljdoc? Tell your friends :D

edamame.core


parse-stringclj/s

(parse-string s)
(parse-string s opts)

Parses first EDN value from string.

Supported options:

:dispatch: a map of characters to functions which will receive the parsed EDN value when encountering the char. Map may be nested for dispatch characters. See README.md for examples.

:read-cond: - :allow to process reader conditionals, or :preserve to keep all branches :features: - persistent set of feature keywords for reader conditionals (e.g. #{:clj}).

Additional arguments to tools.reader may be passed with :tools.reader/opts, like :readers for passing reader tag functions.

Parses first EDN value from string.

Supported options:

`:dispatch`: a map of characters to functions which will receive the
parsed EDN value when encountering the char. Map may be nested for
dispatch characters. See README.md for examples.

`:read-cond`: - `:allow` to process reader conditionals, or
                `:preserve` to keep all branches
`:features`: - persistent set of feature keywords for reader conditionals (e.g. `#{:clj}`).

Additional arguments to tools.reader may be passed with
`:tools.reader/opts`, like `:readers` for passing reader tag functions.
sourceraw docstring

parse-string-allclj/s

(parse-string-all s)
(parse-string-all s opts)

Like parse-string but parses all values from string and returns them in a vector.

Like parse-string but parses all values from string and returns them
in a vector.
sourceraw docstring

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

× close