jsp接口获取json类型的数据

在测试代码中:web String json = "{\"sex\": \"你猜\", \"name\": \"有种爱叫作东方不败\"}"; JSONObject jsonObject = new JSONObject(json); String sex = jsonObject.getString("sex"); String name = jsonObject.getStri
相关文章
相关标签/搜索