(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.(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |