json字符串解析JSONObject、JSONArray

JSONObject:必须是 “{ ”开头  /    JSONArray:必须是 “[ ”开头java 以{}开头使用JSONObject.fromObject(“json数据”),将json数据转为java对象、json 以[ ]开头使用JSONArray.fromObject(“json数据”),将json数据转为java数组 数组 1 、String str = "{\"id\":\"12
相关文章
相关标签/搜索