Skip to content

clojure.edn/read-string

View this page on ClojureDocs

Type: function Added: Clojure 1.5 Examples: 4 Runnable: 0
([s] [opts s])

Reads one object from the string s. Returns nil when s is nil or empty.

Reads data in the edn format (subset of Clojure data): http://edn-format.org

opts is a map as per clojure.edn/read

Examples

by phreed on . May have evaluation errors.
by humorless on . May have evaluation errors.
by Atsman on . May have evaluation errors.
by manojarya on . May have evaluation errors.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.