{"command":"actLevelIsAbove","conditions":[{"lev":0,"actType":0,"commond":"actLevelIsAbove","rewards":[{"exp":100,"type":0}]}]}
我怎么得到 conditions 值得这个List 通过Map
通过
String str = map.getString("conditions");
方法后 List 没有了
String json = ... NutMap map = Json.fromJson(NutMap.class, json); System.out.println(Json.toJson(map.getArray("conditions", NutMap.class)));
ok 结贴