users@jersey.java.net

Re: [Jersey] Escaping special characters for producing JSON

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 30 Jul 2009 07:29:22 +0200

On Jul 29, 2009, at 11:57 PM, saturon wrote:

> Hi All,
>
> I'm using Jersey 1.0 and when producing JSON - without any special
> JSON configuration - I get invalid data, because special characters
> like quotation mark (\") are not escaped apparently.
>
> Is there a Jersey solution to this?
>

I think this may be fixed in a later version. Can you try upgrading to
1.0.3 or 1.1.1-ea ?

Paul.