users@jersey.java.net

Escaping special characters for producing JSON

From: saturon <netbeans_at_vtxfree.ch>
Date: Wed, 29 Jul 2009 23:57:04 +0200

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?

Rgds Ben