Annotation Type JacksonXmlCData
-
@Target({ANNOTATION_TYPE,FIELD,METHOD,PARAMETER}) @Retention(RUNTIME) public @interface JacksonXmlCData
Adding this annotation will result in value of the property to be serialized within an xmlCDATA
section. Only use on String properties and String collections.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
value
Whether the property text should always be within a CDATA section when serialized.
-