com.yuweix.kuafu.core.json.Json Maven / Gradle / Ivy
The newest version!
package com.yuweix.kuafu.core.json;
import com.alibaba.fastjson2.TypeReference;
/**
* @author yuwei
*/
public interface Json {
void addAccept(String name);
String serialize(T t);
T deserialize(String str);
String toJSONString(Object object);
Object parse(String text);
T parseObject(String text, TypeReference type);
T parseObject(String text, Class clazz);
}