Closed Frozenlock closed 9 years ago
Doing (str :foo)
will preserve the :
, so perhaps that would be a better way to go. I do like the predictable result of the sorted-map.
Sounds good.
You push or I do?
just made the fix :)
I can push to clojars when I get home
:heart:
ok it's up on clojars, let me know if everything looks good :)
Yup, everything works!
See https://github.com/yogthos/json-html/blob/master/src/json_html/core.clj#L55
I would propose to go back to the previous
(map-indexed vector this)
One could also stringify all keys, but the
:a
and"a"
would collide and one of the two fields would be lost.