Hi,

I am attempting to use Java interoperability.

I have downloaded a dependency through Leiningen

[com.jayway.jsonpath/json-path "0.9.1"]

I import the dependency into a namespace

(:import (com.jayway.jsonpath JsonPath)

The Java class, JsonPath has a static method 'read' that takes two
strings as arguments.

However, when I try to evaluate this expression

(JsonPath/read "" "")

I receive " java.lang.IllegalArgumentException: No matching method: read"

I am unsure on what I am doing wrong here?

Many Thanks

Paul

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to