public static void main(String args[]){
JSONObject json1=JSONObject.fromObject("{‘username‘ : ‘11111‘,‘clientid‘ : ‘‘,‘password‘ : ‘222222‘}");
Map<String, Object> map =json1;
for (Entry<String, Object> entry : map.entrySet()) {
System.out.println(entry.getKey()+"="+entry.getValue());
}
}
时间: 2024-11-09 00:38:17