On Apr 17, 10:00 am, Robert Luo <robort...@gmail.com> wrote: > the following code: > > (read-json-string (json-str {3 1})) > > results NumberFormatException, I think maybe it does not expect > integer keys for a map.
That's correct. I was following the "pure" JSON spec at http://json.org/ which says that maps can only have strings as keys. Maybe json-str should enforce that. -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---