xixiiii
2015-11-23 01:29
采纳率: 100%
浏览 4.6k
已采纳

Java Gson解析多层嵌套json字符串

碰到类似如下格式的json,总是解析失败,希望大神帮助解析一下
{
"code":0,
"message":"",
"data":[
{
"info":{"id":0,"name":"lina","age":10},
"subclass":[]
},
{
"info":{"id":1,"name":"may","age":16},
"subclass":[
{
"info":{"id":2,"name":"aa","age":13},
"subclass":[]
},
{
"info":{"id":3,"name":"bb","age":12},"subclass":[]
}
]
}
]
}

2条回答 默认 最新

相关推荐 更多相似问题