diff --git a/src/yd/edn.cljs b/src/yd/edn.cljs index 2f1cd98..ef4eb5c 100644 --- a/src/yd/edn.cljs +++ b/src/yd/edn.cljs @@ -3,7 +3,6 @@ [clojure.string :refer (replace includes?)] [cljs.reader :refer (read-string)])) - (defn keylike? [k-str] (and (string? k-str) (.startsWith k-str ":"))) @@ -22,7 +21,8 @@ (defn read-data [data] - (read-string data)) + (binding [*data-readers* {'inst cljs.tagged-literals/read-inst}] + (read-string data))) (defn try-read [value]