diff options
author | Stuart Sierra <mail@stuartsierra.com> | 2010-11-30 13:27:15 -0500 |
---|---|---|
committer | Stuart Sierra <mail@stuartsierra.com> | 2010-11-30 13:27:22 -0500 |
commit | 01036ea181b979b5ff190f2eb44c2bf3ca9e1c3b (patch) | |
tree | 251720848a0d5f8636a5e261a5f75833731fa17a | |
parent | 82c7d49ac23ff2b32490319e458ad535b01e7a41 (diff) |
Fix unicode characters in JSON docstrings
-rw-r--r-- | modules/json/src/main/clojure/clojure/contrib/json.clj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/json/src/main/clojure/clojure/contrib/json.clj b/modules/json/src/main/clojure/clojure/contrib/json.clj index 5b42e17e..bcb59e2b 100644 --- a/modules/json/src/main/clojure/clojure/contrib/json.clj +++ b/modules/json/src/main/clojure/clojure/contrib/json.clj @@ -307,7 +307,7 @@ Valid options are: :escape-unicode false - to turn of \uXXXX escapes of Unicode characters." + to turn of \\uXXXX escapes of Unicode characters." [x & options] (let [{:keys [escape-unicode] :or {escape-unicode true}} options sw (StringWriter.) @@ -320,7 +320,7 @@ Valid options are: :escape-unicode false - to turn off \uXXXX escapes of Unicode characters." + to turn off \\uXXXX escapes of Unicode characters." [x & options] (let [{:keys [escape-unicode] :or {escape-unicode true}} options] (write-json x *out* escape-unicode))) @@ -354,7 +354,7 @@ Valid options are: :escape-unicode false - to turn off \uXXXX escapes of Unicode characters." + to turn off \\uXXXX escapes of Unicode characters." [x & options] (let [{:keys [escape-unicode] :or {escape-unicode true}} options] (write x :dispatch #(pprint-json-dispatch % escape-unicode)))) |