weixin.popular.util.JsonUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weixin-popular Show documentation
Show all versions of weixin-popular Show documentation
The weixin-popular is a JAVA SDK for weixin. Weixin web url is https://mp.weixin.qq.com.
package weixin.popular.util;
import com.alibaba.fastjson.JSON;
public class JsonUtil {
private JsonUtil(){}
public static T parseObject(String json,Class clazz){
return JSON.parseObject(json, clazz);
}
public static String toJSONString(Object object){
return JSON.toJSONString(object);
}
}