if (value instanceof JsonNode) {
if (((JsonNode) value).isNull()) {
return null;
}
try {
return mapper.convertValue(value, fullType);
} catch (final Exception e) {
ClassCastException cce = new ClassCastException("Failed to convert value:" + value
+ " -----> " + fullType);
cce.initCause(e);
throw cce;