com.ideaaedi.commonspring.lite.params.ParameterSerializer Maven / Gradle / Ivy
The newest version!
package com.ideaaedi.commonspring.lite.params;
import org.springframework.lang.Nullable;
/**
* 参数序列化器
*
* @author JustryDeng
* @since 2100.6.4
*/
public interface ParameterSerializer {
/**
* 序列化对象为字符串
*
* @param obj
* 待序列化对象
* @return 字符串
*/
@Nullable
String doSerializer(@Nullable Object obj);
}