怎么把json string数据转换成list集合

2024-12-05 04:37:49
推荐回答(1个)
回答1:

将json字符串转成Java的Array数组 private String json = "{\"address\":\"chian\",\"birthday\":{\"birthday\":\"2010-11-22\"},"+ "\"email\":\"email@123.com\",\"id\":22,\"name\":\"tom\"}"; @Test public void readJSON2Array()