During XML deserialization I want to ignore property @XmlSchemaType without modifying annotated class.
DO We have any such ignore control through application.property in spring boot?
During XML deserialization I want to ignore property @XmlSchemaType without modifying annotated class.
DO We have any such ignore control through application.property in spring boot?
Copyright © 2021 Jogjafile Inc.
The feature you are looking for it to override the default serializer that Spring is using. You declare your own Bean for this mapper and configure the mapper to do what you want.
I am more familiar with the need to do this for JSON (with Jackson) but the technique is the same to override the (Jackson) mapper for XML. Here are two articles, albeit for JSON, but they should set you on the right track: