I'm getting an error, trying to use the JSON API in the clojure-
contrib library:

user=> (ns foo
  (:require clojure.contrib.json))
java.lang.Exception: Unable to resolve symbol: defprotocol in this
context (json.clj:167)


I tried clojure-contrib 1.1.0 with clojure 1.0.0 and 1.1.0. As of
today (March 16th, 2010), I tried getting the latest clojure code and
clojure-contrib code from 1) SVN and 2) GIT respectively.

1) svn checkout http://clojure.googlecode.com/svn/trunk/ clojure-read-
only
2) git://github.com/richhickey/clojure-contrib.git

I'm still getting the error. What library setup do I need to run this
library contrib successfully? Thanks in advance.

-- 
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