deserializeJson
public static <T> T deserializeJson(String jsonString,
Function<com.fasterxml.jackson.databind.type.TypeFactory,com.fasterxml.jackson.databind.JavaType> typeProviderFunction)
Deserialize json string into an object of type T. The type must also be provided to the underlying Jackson
library in the form of a JavaType supplied by the function parameter.
- Parameters:
jsonString - value from configuration file
typeProviderFunction - type deserialization function provider
- Returns:
- deserialized json string