org.yelong.support.redis.jedis.ObjectToJson Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yelong-support Show documentation
Show all versions of yelong-support Show documentation
对各种开源框架的包装、支持、拓展。这里也包含的yelong-core与orm框架的整合。
默认对所有依赖为 scope 为 provided 。您需要针对自己的需要进行再次依赖
/**
*
*/
package org.yelong.support.redis.jedis;
/**
* 对象转换为json的转换器
*
* @author PengFei
* @since 1.3.0
*/
@FunctionalInterface
public interface ObjectToJson {
/**
* 将对象转换为json
*
* @param obj 对象
* @return json
*/
String toJson(Object obj);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy