How can I pretty print a PersistentHashMap in Clojure to a string? I am looking for something like:
(str (pprint {... hash map here...})
which
(pr-str {:a 1 :b 2}) ;; => "{:a 1, :b 2}"