摘要:
示例实现1. 请求REST接口返回类转换的JSON或XML数据2. POST JSON数据到REST接口自动转为类数据服务端Beanpackage com.qunar.bean;import javax.xml.bind.annotation.XmlAccessType;import javax.xml.bind.annotation.XmlAccessorType;import javax.xml.bind.annotation.XmlRootElement;/** * Created with IntelliJ IDEA. * User: zhenwei.liu * Date: 13-7- 阅读全文