Re: Possible bug of clojure.contrib.json.read

2009-04-17 Thread Stuart Sierra
On Apr 17, 10:00 am, Robert Luo 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

Possible bug of clojure.contrib.json.read

2009-04-17 Thread Robert Luo
the following code: (read-json-string (json-str {3 1})) results NumberFormatException, I think maybe it does not expect integer keys for a map. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To