Moxy/JAXB/Jersey marshal POJO to JSON when POJO already has a JSON String field -
I have a POJO that I want to return to JSON as a restful method. Poseo has a field string that is already formatted in JSON. When this method is martialed through JAXB / MOXY, the whole value is quoted and all internal quotes are preserved.
Is there any way to tell JAXB / MOXY to use this field as a raw / formatless value instead of processing it as a normal string?
Thanks
Comments
Post a Comment