Interface ProblemDetailJacksonXmlMixin


public interface ProblemDetailJacksonXmlMixin
Provides the same declarations as ProblemDetailJacksonMixin and some additional ones to support XML serialization when jackson-dataformat-xml is on the classpath. Customizes the XML root element name and adds namespace information.

Note that we cannot use @JsonRootName to specify the namespace since that is not inherited by fields of the class. This is why we need a dedicated "mix-in" when jackson-dataformat-xml is on the classpath. For more details, see FasterXML/jackson-dataformat-xml#355.

Since:
6.0.5
Author:
Rossen Stoyanchev
  • Field Details

  • Method Details