ClojureDocs

导航

命名空间

read-string

clojure.core

自 1.0 版本开始提供 (源代码)
  • (read-string s)
  • (read-string opts s)
Reads one object from the string s. Optionally include reader
options, as specified in read.
 Note that read-string can execute code (controlled by *read-eval*),
and as such should be used only with trusted sources.
 For data structure interop use clojure.edn/read-string