import com.alibaba.fastjson.JSONObject; /** * Created by SYJ on 2017/9/13. */ public class MainTest { public static void main(String[] args) { String json = "{\"code\":0,\"message\":\"没有查询到数据\",\"data\":null,\&…
一.测试数据准备 List<Map<String, String>> result = new ArrayList();Map<String, String> map = new HashMap<>();map.put("san", "张三");map.put("si", "李四");map.put("wu", "王五");map.put(…