java怎么解析多层嵌套的json得到每个元素

用Jackson我只会做后面的数组部分{"result":{"cases":{"page":1,"pagesize":10,"totalrows":11,"pages":... 用Jackson我只会做后面的数组部分
{"result":{"cases":{"page":1,"pagesize":10,"totalrows":11,"pages":2,"sort":" -createtime",
"results":[
{"Id":111111,"No":null,"Name":"case1","Desc":null,"capitalWord":null,"Type":0,"status":1,"originUser":0,"opUser":0,"zcUser":0,"spUser":0,"zjUser":0,"createTime":0,"zjTime":0,"spRemark":null}, {"Id":222222,"No":null,"Name":"case2","Desc":null,"capitalWord":null,"Type":0,"status":1,"originUser":0,"opUser":0,"zcUser":0,"spUser":0,"zjUser":0,"createTime":0,"zjTime":0,"spRemark":null},
{"Id":333333,"No":null,"Name":"case3","Desc":null,"capitalWord":null,"Type":0,"status":-1,"originUser":0,"opUser":0,"zcUser":0,"spUser":0,"zjUser":0,"createTime":0,"zjTime":0,"spRemark":null}
]}}}
展开
 我来答
核桃爱花生1
2017-05-18 · 超过137用户采纳过TA的回答
知道小有建树答主
回答量:211
采纳率:0%
帮助的人:97.9万
展开全部
{}是Object []是Array 一层一层解析的话,{}对应JSONObject,[]对应JSONArray
追问
能帮我解一下第一层给我演示下吗?
本回答被提问者和网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式