cn.hippo4j.common.api.JsonFacade Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hippo4j-common Show documentation
Show all versions of hippo4j-common Show documentation
HIPPO4J、HIPPO4J-CORE 公共代码库.
package cn.hippo4j.common.api;
import java.util.List;
/**
* Json facade.
*
* @author chen.ma
* @date 2021/12/13 20:01
*/
public interface JsonFacade {
/**
* To JSON string.
*
* @param object
* @return
*/
String toJSONString(Object object);
/**
* Parse object.
*
* @param text
* @param clazz
* @param
* @return
*/
T parseObject(String text, Class clazz);
/**
* Parse array.
*
* @param text
* @param clazz
* @param
* @return
*/
List parseArray(String text, Class clazz);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy