function | since v0.0-1806 | Edit |
(pr-str* obj)
Support so that collections can implement toString without loading all the printing machinery.
(defn pr-str*
[^not-native obj]
(let [sb (StringBuffer.)
writer (StringBufferWriter. sb)]
(-pr-writer obj writer (pr-opts))
(-flush writer)
(str sb)))