users@jersey.java.net

Re: Problems with jersey and json with collection of 0 elements..

From: Damiano ALBANI <damiano.albani_at_univ-nantes.fr>
Date: Mon, 15 Nov 2010 17:18:43 +0100

Hello,

On 11/10/2010 03:47 PM, vaidya nathan wrote:
> Recently i started using jersey 1.4 specifically for its support of
> generics but am facing a problem when the no of elements in the list
> are 0.
Same annoying problem here...

> 2. I cant use the other solution as it would force me to change the
> api (from List to Response as suggested by someone in the above thread).
In the end, that's what I had to do, though I'd *really* prefer to keep
a clean API, as you said.

Regards,

-- 
Damiano ALBANI