public static <T> T jsonStrToObject(String jsonStr, Class<T> clazz) throws IOException{
        return  objectMapper.readValue(jsonStr, clazz);
    }
Reason:
Date: 2018/6/27
Company: www.dtstack.com
@author xuchao
core/src/main/java/com/dtstack/flink/sql/util/PluginUtil.java