-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
repl=> (clj->cljson (subvec [1 2 3 4] 0 2))
IllegalArgumentException No cljson encoding for '[1 2]'. tailrecursion.cljson/encode (cljson.clj:72)
Looks like clojure.lang.PersistentVector
is extended with EncodeTagged
, but not clojure.lang.IPersistentVector
. In my (extremely rudimentary) testing, making it IPersistentVector
instead seems to work fine.