On 02/28/2012 01:16 PM, Martin Ždila wrote:
> Hello
>
> I have method like this
>
> @GET
> public String getMessage() {
> return "Hello";
> }
>
>
> If I call it with Accept: application/json, I get a plain string
> without quotes. How to get properly encoded JSON string? With complex
> objects it works. I am using Jersey with Jackson.
>
> Thanks in advance.
>
--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza