weixin.popular.bean.paymch.DetailXmlAdapter 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.bean.paymch;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import com.alibaba.fastjson.JSON;
public class DetailXmlAdapter extends XmlAdapter {
@Override
public Detail unmarshal(String v) throws Exception {
return JSON.parseObject(v, Detail.class);
}
@Override
public String marshal(Detail v) throws Exception {
return "";
}
}