Annotation Type JacksonXmlText
-
@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface JacksonXmlTextInterface that is loosely similar toXmlValuein that it can be used on one (and only one!) property of a POJO. It will result in value of the property be serialized without element wrapper, as long as there are no element-wrapped other properties (attribute-valued properties are acceptable). It is also similar to core JacksonJsonValueannotation; but has to be separate asJsonValuedoes not allow any other properties.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanvalueWhether serialization of the property should always be done as basic XML text or not; if true, will be, if false, not.
-