@Nullable
	static UserInfo extractUserInfo(String serviceUrl) {
		try {
			final URI serviceURI = new URI(serviceUrl);
			if (serviceURI.getUserInfo() != null) {
				final String[] credentials = serviceURI.getUserInfo().split(":");
				if (credentials.length == 2) {
					return new UserInfo(credentials[0], credentials[1]);
				}
			}
		}
		catch (URISyntaxException ignore) {
		}
		return null;
	}
Provides the serialization configurations required by the Eureka Server. JSON
content exchanged with eureka requires a root node matching the entity being
serialized or deserialized. Achieved with
{@link SerializationFeature#WRAP_ROOT_VALUE} and
{@link DeserializationFeature#UNWRAP_ROOT_VALUE}.
{@link PropertyNamingStrategies.SnakeCaseStrategy} is applied to the underlying
{@link ObjectMapper}.
@return a {@link ObjectMapper} object
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/http/EurekaHttpClientUtils.java