docs: private Class<?> getActualType(JsonNode object, Class<?> userType) {
  		String type = object.get(TYPE).asText();
  
  		String definedTypeName = configuration.getTypeName(userType);
  
  		if (definedTypeName != null && definedTypeName.equals(type)) {
  			return userType;
  		} else {
  			Class<?> actualType = configuration.getTypeClass(type);
  
  			if (actualType != null && userType.isAssignableFrom(actualType)) {
  				return actualType;
  			}
  		}
  
  		throw new UnregisteredTypeException(type);
  	}