接口 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.
- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev, Harry Yang
-
字段概要
字段 -
方法概要