Just one question:


>         responseBody.put("firstProperty",
> serializeFirstProperty(obj.getFirstProperty()));
>         responseBody.put("secondProperty",
> serializeSecondProperty(obj.getSecondProperty()));
>         responseBody.put("thirdProperty",
> serializeThirdProperty(obj.getThirdProperty()));
>

Why do you serialize values? That is where "double-escaping" comes: you are
adding JSON String within content to be JSON serialized. Just add values as
is

   responseBody.put("firstProperty", obj.getFirstProperty());

and contents would get serialized just once.

-+ Tatu +-

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-user/CAGrxA25452nXoBFO7pBVmUrSdrGDHSDb02byERaryGQAQgavVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to