public <C> C mapInternalToJava(Object parameter, JavaType type) {
JsonNode jsonNode = (JsonNode) parameter;
ObjectMapper mapper = format.getConfiguredObjectMapper();
try {
return mapper.readValue(mapper.treeAsTokens(jsonNode), type);
} catch (IOException e) {
throw LOG.unableToDeserialize(jsonNode, type, e);
}
}