Permalink
Browse files

Use old metadata syntax for Clojure 1.2.x compatibility

  • Loading branch information...
1 parent 5ba74e6 commit 8930d968af4f862a3d97c7096b9c805c5e6a3631 @stuartsierra stuartsierra committed Oct 23, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/main/clojure/clojure/data/json.clj
@@ -17,9 +17,9 @@
;;; JSON READER
-(def ^:dynamic ^:private *bigdec*)
-(def ^:dynamic ^:private *key-fn*)
-(def ^:dynamic ^:private *value-fn*)
+(def ^{:dynamic true :private true} *bigdec*)
+(def ^{:dynamic true :private true} *key-fn*)
+(def ^{:dynamic true :private true} *value-fn*)
(defn- default-write-key-fn
[x]
@@ -273,8 +273,8 @@
;;; JSON WRITER
-(def ^:dynamic ^:private *escape-unicode*)
-(def ^:dynamic ^:private *escape-slash*)
+(def ^{:dynamic true :private true} *escape-unicode*)
+(def ^{:dynamic true :private true} *escape-slash*)
(defprotocol JSONWriter
(-write [object out]

0 comments on commit 8930d96

Please sign in to comment.