json嵌套 转java
[{"id":0,"cont":"日本","pos":"ns","ne":"S-Ns","parent":1,"relate":"ATT","arg":[]},{"id"...
[{"id":0,"cont":"日本","pos":"ns","ne":"S-Ns","parent":1,"relate":"ATT","arg":[]},
{"id":1,"cont":"陆上","pos":"nl","ne":"O","parent":2,"relate":"ATT","arg":[]},
{"id":2,"cont":"自卫队","pos":"n","ne":"O","parent":5,"relate":"SBV","arg":[]},{"id":3,"cont":"在","pos":"p","ne":"O","parent":5,"relate":"ADV","arg":[]},
{"id":4,"cont":"北海道","pos":"ns","ne":"S-Ns","parent":3,"relate":"POB","arg":[]},
{"id":5,"cont":"实施","pos":"v","ne":"O","parent":-1,"relate":"HED","arg":[{"id":0,"type":"A0","beg":0,"end":2},{"id":1,"type":"LOC","beg":3,"end":4},{"id":2,"type":"A1","beg":6,"end":7}]}}]
这种json嵌套怎么用json-lib转成java对象? 展开
{"id":1,"cont":"陆上","pos":"nl","ne":"O","parent":2,"relate":"ATT","arg":[]},
{"id":2,"cont":"自卫队","pos":"n","ne":"O","parent":5,"relate":"SBV","arg":[]},{"id":3,"cont":"在","pos":"p","ne":"O","parent":5,"relate":"ADV","arg":[]},
{"id":4,"cont":"北海道","pos":"ns","ne":"S-Ns","parent":3,"relate":"POB","arg":[]},
{"id":5,"cont":"实施","pos":"v","ne":"O","parent":-1,"relate":"HED","arg":[{"id":0,"type":"A0","beg":0,"end":2},{"id":1,"type":"LOC","beg":3,"end":4},{"id":2,"type":"A1","beg":6,"end":7}]}}]
这种json嵌套怎么用json-lib转成java对象? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |