` public static final ObjectMapper objectMapper = new ObjectMapper();
public static JavaType getCollectionType(Class collectionClass, Class ... elementClasses) { return objectMapper.getTypeFactory().constructParametricType(collectionClass, elementClasses);}JavaType javaType = getCollectionType(Map.class, String.class, Object.class); Mapdata = objectMapper.readValue(strData, javaType);`