On Wed, Jan 4, 2012 at 6:01 AM, Stuart Sierra
<the.stuart.sie...@gmail.com> wrote:
> Please check with the more recent clojure.data.json version 0.1.2 and let me
> know if it displays the same bug:
> http://search.maven.org/#artifactdetails|org.clojure|data.json|0.1.2|jar

user> (require 'clojure.data.json)
nil
user> (def my-hash {"a" 0
    "b" 1
    "c" 2
    "xxx\"xxx" 100})
#'user/my-hash
user> my-hash
{"a" 0, "b" 1, "c" 2, "xxx\"xxx" 100}
user> (clojure.data.json/json-str my-hash)
"{\"a\":0,\"b\":1,\"c\":2,\"xxx\\\"xxx\":100}"

Looks correct, yes?

That's with json 0.1.2 (tested on Clojure 1.3.0).
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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

Reply via email to