com.dahuatech.hutool.json.serialize.JSONDeserializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-common Show documentation
Show all versions of java-sdk-common Show documentation
Dahua ICC Open API SDK for Java
package com.dahuatech.hutool.json.serialize;
import com.dahuatech.hutool.json.JSON;
/**
* JSON反序列话自定义实现类
*
* @author Looly
* @param 反序列化后的类型
*/
public interface JSONDeserializer {
/**
* 反序列化,通过实现此方法,自定义实现JSON转换为指定类型的逻辑
*
* @param json {@link JSON}
* @return 目标对象
*/
T deserialize(JSON json);
}