public static <T> T jsonToObject(final String json, final Class<T> valueTypeRef) {
        try {
            return MAPPER.readValue(json, valueTypeRef);
        } catch (IOException e) {
            LOG.warn("write to Object error: {}", json, e);
            return null;
        }
    }
String to Object.

@param json         the object
@param valueTypeRef class
@param <T>          generic
@return the converted map
shenyu-common/src/main/java/org/apache/shenyu/common/utils/JsonUtils.java