Map map = new HashMap();
        map.put("name", "老三");
        map.put("age", 12);            
        String jsonStr = JSONObject.toJSONString(map);

然后return

相关文章: