System.out.println("map對象:"+data.toString()); 下面是輸出內(nèi)容: {total=2, contend=[{"carid":"0","bid":"22"},{"carid":"0","bid":"22"}], result=100} 2.由Map對象轉(zhuǎn)換成json字符串 1 2 3 4 //map對象 Map<String, Object> data =newHashMap<>(); String x =JSONObject.toJSONS...
www.dbjr.com.cn/article/2040...htm 2025-6-9