} catch (Throwable e) {
// Ignore
}
if (xmlAdapter != null) {
XmlAdapterJsonDeserializer deserializer = new XmlAdapterJsonDeserializer(xmlAdapter, null);
XmlAdapterJsonSerializer serializer = new XmlAdapterJsonSerializer(xmlAdapter, null);
deserializerFactory.addSpecificMapping(a.type(), deserializer);
serializerFactory.addGenericMapping(a.type(), serializer);
StdDeserializerProvider deserializerProvider =
new StdDeserializerProvider(deserializerFactory);
mapper.setSerializerFactory(serializerFactory);