JSONProvider readFrom() method takes Class as first argument.

Thu, 30 Jul 2009 02:02:17 -0700

I am using the cxf-bundle-jaxrs-2.2.2. 

When performing some integration test I needed the JSONProvider class to
convert my JSON objects back to Java objects. From what I understand I can
do this using the readFrom() method in the JSONProvider class, but the
problem is that it only accepts type Class, as the first argument, for the
type of class that you want to convert your JSON object too. Surely the
first argument should be of type Class<?>.

Am I using the method incorrectly? Or is this an error in the code?
-- 
View this message in context: 
http://www.nabble.com/JSONProvider-readFrom%28%29-method-takes-Class%3CObject%3E-as-first-argument.-tp24734735p24734735.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to