return sourceString;
} else {
return mapper.readValue((String)source, javaType);
}
} else if (source instanceof JsonNode) {
return mapper.treeToValue((JsonNode)source, context.getTargetDataType().getPhysical());
} else if (source instanceof JsonParser) {
return mapper.readValue((JsonParser)source, javaType);
} else {
return mapper.readValue(source.toString(), javaType);
}