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

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -