Browse files

Print to provided output stream in deprecated 'write-json'

Originally reported by Benjamin Teuber in a GitHub pull request:
  • Loading branch information...
stuartsierra committed Mar 28, 2013
1 parent 9ee90e2 commit d3cce5b200031cf22603c13a9a39e3939651d344
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/clojure/clojure/data/json_compat_0_1.clj
@@ -37,7 +37,7 @@
Print object to PrintWriter out as JSON"
[x out escape-unicode?]
- (write x *out* :escape-unicode escape-unicode?))
+ (write x out :escape-unicode escape-unicode?))
(defn json-str
"DEPRECATED; replaced by 'write-str'.

0 comments on commit d3cce5b

Please sign in to comment.