Skip to main content

read-string

function

clojure.tools.reader/read-string

Available in:BBCLJ
(read-string [s] [opts s])
Reads one object from the string s. Returns nil when s is nil or empty. ***WARNING*** Note that read-string can execute code (controlled by *read-eval*), and as such should be used only with trusted sources. To read data structures only, use clojure.tools.reader.edn/read-string Note that the function signature of clojure.tools.reader/read-string and clojure.tools.reader.edn/read-string is not the same for eof-handling

No examples yet. Be the first to add one!

Categories