非标准JSON解析

String category = "{'v-soft-list':[{typecode:'zhuanbi',gametype:'赚币',count:5},{typecode:'dongzuo',gametype:'动作',count:12},{typecode:'maoxian',gametype:'冒险',count:14},{typecode:'xiuxian',gametype:'休闲',count:61},{typecode:'zhili',gametype:'智力',count:17},{typecode:'gaoxiao',gametype:'搞笑',count:6},{typecode:'celue',gametype:'策略',count:4},{typecode:'qipai',gametype:'棋牌',count:2}]}";
		
		JSONObject jsonObject = JSONObject.fromObject(category);  
		JSONArray jsArray = jsonObject.getJSONArray("v-soft-list");  
		for(int i=0;i

你可能感兴趣的:(json,JSON)