Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use old metadata syntax for Clojure 1.2.x compatibility

  • Loading branch information...
commit 8930d968af4f862a3d97c7096b9c805c5e6a3631 1 parent 5ba74e6
@stuartsierra stuartsierra authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/main/clojure/clojure/data/json.clj
View
10 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]
Please sign in to comment.
Something went wrong with that request. Please try again.