pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill van Melle <bill.van.me...@gmail.com>
Subject Re: How to debug JSONSerializer errors?
Date Tue, 23 Nov 2010 00:20:23 GMT
>
> Not sure exactly what you are trying to do.
>

I'm trying to fill in the blank in

  query.setSerializer(???);

for the case where my web call returns an array of a type that I have
declared, i.e., it sends back something of the form

  [{...instance1...}, {...instance2...}, ...]

Java doesn't let me say

  query.setSerializer(new JSONSerializer(ArrayList<Foo>.class));

Mime
View raw message