All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dahuatech.hutool.json.serialize.JSONDeserializer Maven / Gradle / Ivy

There is a newer version: 1.0.13.10
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy