当前位置:和仁网 >生活 > 正文

fastjson转对象 嵌套

2021-08-06 0

这个是要解析的json数据
http://tingapi.ting.baidu.com/v1/restserver/ting?from=qianqian&version=2.1.0&method=baidu.ting.song.getInfos&format=json&songid=8059247&ts=1408284347323&e=JoN56kTXnnbEpd9MVczkYJCSx%2FE1mkLx%2BPMIkTcOEu4%3D&nw=2&ucf=1&res=1
我建了一个fall类
package day15Prac;

public class Fall {
private static Fsongurl songurl = new Fsongurl();
private String error_code;
private static Fsonginfo songinfo = new Fsonginfo();

public Fsongurl getSongurl() {
return songurl;
}

public void setSongurl(Fsongurl songurl) {
this.songurl = songurl;
本周热门
本月热门