例如,想过滤出 address 数组中中 name 等于 ‘123’的那个元素
String json = "{name:'nutz', age:12, address:[{area:1,name:'abc'}, {area:2,name:'123'}]}";
Object obj = Json.fromJson(json);
例如,想过滤出 address 数组中中 name 等于 ‘123’的那个元素
String json = "{name:'nutz', age:12, address:[{area:1,name:'abc'}, {area:2,name:'123'}]}";
Object obj = Json.fromJson(json);