锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲产国偷V产偷V自拍色戒,亚洲日本中文字幕,亚洲va乱码一区二区三区http://m.tkk7.com/myqiao/category/38776.htmlzh-cnMon, 04 Oct 2010 16:38:15 GMTMon, 04 Oct 2010 16:38:15 GMT60鐑偣涔﹀簱灝忚澶氱嚎紼嬩笅杞藉櫒 V1.0http://m.tkk7.com/myqiao/archive/2009/04/29/268010.html宸︽錘宸︽錘Tue, 28 Apr 2009 17:12:00 GMThttp://m.tkk7.com/myqiao/archive/2009/04/29/268010.htmlhttp://m.tkk7.com/myqiao/comments/268010.htmlhttp://m.tkk7.com/myqiao/archive/2009/04/29/268010.html#Feedback8http://m.tkk7.com/myqiao/comments/commentRss/268010.htmlhttp://m.tkk7.com/myqiao/services/trackbacks/268010.html闃呰鍏ㄦ枃

宸︽錘 2009-04-29 01:12 鍙戣〃璇勮
]]>
鐢查鏂?4浜跨編鍏冩敹璐璖UNhttp://m.tkk7.com/myqiao/archive/2009/04/20/266631.html宸︽錘宸︽錘Mon, 20 Apr 2009 15:43:00 GMThttp://m.tkk7.com/myqiao/archive/2009/04/20/266631.htmlhttp://m.tkk7.com/myqiao/comments/266631.htmlhttp://m.tkk7.com/myqiao/archive/2009/04/20/266631.html#Feedback4http://m.tkk7.com/myqiao/comments/commentRss/266631.htmlhttp://m.tkk7.com/myqiao/services/trackbacks/266631.html

宸︽錘 2009-04-20 23:43 鍙戣〃璇勮
]]>
浣跨敤Java鎿嶄綔JSON瀛楃涓插璞★紙杞澆鏀惰棌錛?/title><link>http://m.tkk7.com/myqiao/archive/2009/04/04/263844.html</link><dc:creator>宸︽錘</dc:creator><author>宸︽錘</author><pubDate>Fri, 03 Apr 2009 16:08:00 GMT</pubDate><guid>http://m.tkk7.com/myqiao/archive/2009/04/04/263844.html</guid><description><![CDATA[<p>1銆佸鏋滄垜浠渶瑕佸疄鐜頒竴涓厤緗鐞嗙殑鍔熻兘錛岄偅涔堜負姣忎釜閰嶇疆欏圭洰澧炲姞涓涓瓧孌墊棦澶嶆潅涔熶笉鍒╀簬鎵╁睍錛屾墍浠ユ垜浠氬父浣跨敤涓涓瓧絎︿覆鏉ヤ繚瀛橀厤緗」鐩俊鎭紝榪欓噷浠嬬粛濡備綍浣跨敤json鐨勫瓧絎︿覆瑙f瀽鏉ヨ揪鍒板垰鎵嶈鐨勭洰鐨勩傚紩鍏son闇瑕佺殑綾誨簱錛?</p> <div id="0s8oug0" class="cnblogs_code"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff">import</span><span style="color: #000000"> org.json.JSONException;   <br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> org.json.JSONObject;  </span></div> <p><br /> 2銆佺敓鎴愪竴涓猨son瀵硅薄(鍙互娣誨姞涓嶅悓綾誨瀷鐨勬暟鎹?錛?</p> <div id="qmgm000" class="cnblogs_code"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">JSONObject jsonObject </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> JSONObject();<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />jsonObject.put(</span><span style="color: #000000">"</span><span style="color: #000000">a</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">1</span><span style="color: #000000">);   jsonObject.put(</span><span style="color: #000000">"</span><span style="color: #000000">b</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">1.1</span><span style="color: #000000">);<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />jsonObject.put(</span><span style="color: #000000">"</span><span style="color: #000000">c</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">1L</span><span style="color: #000000">);<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />jsonObject.put(</span><span style="color: #000000">"</span><span style="color: #000000">d</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">"</span><span style="color: #000000">test</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />jsonObject.put(</span><span style="color: #000000">"</span><span style="color: #000000">e</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #0000ff">true</span><span style="color: #000000">);<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />System.out.println(jsonObject);<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #008000">//</span><span style="color: #008000">{"d":"test","e":true,"b":1.1,"c":1,"a":1}  </span></div> <p> </p> <p><br /> 3銆佽В鏋愪竴涓猨son瀵硅薄(鍙互瑙f瀽涓嶅悓綾誨瀷鐨勬暟鎹?錛実etJSONObject(String str)錛?/p> <div id="u86y0su" class="cnblogs_code"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">jsonObject </span><span style="color: #000000">=</span><span style="color: #000000"> getJSONObject(</span><span style="color: #000000">"</span><span style="color: #000000">{d:test,e:true,b:1.1,c:1,a:1}</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />System.out.println(jsonObject);<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #008000">//</span><span style="color: #008000">{"d":"test","e":true,"b":1.1,"c":1,"a":1}</span><span style="color: #008000"><br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000">System.out.println(jsonObject.getInt(</span><span style="color: #000000">"</span><span style="color: #000000">a</span><span style="color: #000000">"</span><span style="color: #000000">));<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />System.out.println(jsonObject.getDouble(</span><span style="color: #000000">"</span><span style="color: #000000">b</span><span style="color: #000000">"</span><span style="color: #000000">));<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />System.out.println(jsonObject.getLong(</span><span style="color: #000000">"</span><span style="color: #000000">c</span><span style="color: #000000">"</span><span style="color: #000000">));<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />System.out.println(jsonObject.getString(</span><span style="color: #000000">"</span><span style="color: #000000">d</span><span style="color: #000000">"</span><span style="color: #000000">));<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />System.out.println(jsonObject.getBoolean(</span><span style="color: #000000">"</span><span style="color: #000000">e</span><span style="color: #000000">"</span><span style="color: #000000">));</span></div> <p><br /> 4銆?/p> <div id="8io0k0a" class="cnblogs_code"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><img id="Codehighlighter1_51_362_Open_Image" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_51_362_Open_Text').style.display='none'; document.getElementById('Codehighlighter1_51_362_Closed_Image').style.display='inline'; document.getElementById('Codehighlighter1_51_362_Closed_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_51_362_Closed_Image" style="display: none" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_51_362_Closed_Text').style.display='none'; document.getElementById('Codehighlighter1_51_362_Open_Image').style.display='inline'; document.getElementById('Codehighlighter1_51_362_Open_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align="top" /><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> JSONObject getJSONObject(String str) </span><span id="Codehighlighter1_51_362_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span id="Codehighlighter1_51_362_Open_Text"><span style="color: #000000">{<br /> <img id="Codehighlighter1_106_142_Open_Image" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_106_142_Open_Text').style.display='none'; document.getElementById('Codehighlighter1_106_142_Closed_Image').style.display='inline'; document.getElementById('Codehighlighter1_106_142_Closed_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_106_142_Closed_Image" style="display: none" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_106_142_Closed_Text').style.display='none'; document.getElementById('Codehighlighter1_106_142_Open_Image').style.display='inline'; document.getElementById('Codehighlighter1_106_142_Open_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span><span style="color: #0000ff">if</span><span style="color: #000000"> (str </span><span style="color: #000000">==</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000"> </span><span style="color: #000000">||</span><span style="color: #000000"> str.trim().length() </span><span style="color: #000000">==</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">) </span><span id="Codehighlighter1_106_142_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span id="Codehighlighter1_106_142_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />            </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />        JSONObject jsonObject </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img id="Codehighlighter1_193_250_Open_Image" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_193_250_Open_Text').style.display='none'; document.getElementById('Codehighlighter1_193_250_Closed_Image').style.display='inline'; document.getElementById('Codehighlighter1_193_250_Closed_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_193_250_Closed_Image" style="display: none" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_193_250_Closed_Text').style.display='none'; document.getElementById('Codehighlighter1_193_250_Open_Image').style.display='inline'; document.getElementById('Codehighlighter1_193_250_Open_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span id="Codehighlighter1_193_250_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span id="Codehighlighter1_193_250_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />            jsonObject </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> JSONObject(str);<br /> <img id="Codehighlighter1_275_329_Open_Image" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_275_329_Open_Text').style.display='none'; document.getElementById('Codehighlighter1_275_329_Closed_Image').style.display='inline'; document.getElementById('Codehighlighter1_275_329_Closed_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_275_329_Closed_Image" style="display: none" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_275_329_Closed_Text').style.display='none'; document.getElementById('Codehighlighter1_275_329_Open_Image').style.display='inline'; document.getElementById('Codehighlighter1_275_329_Open_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (JSONException e) </span><span id="Codehighlighter1_275_329_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://www.cnblogs.com/Images/dot.gif" /></span><span id="Codehighlighter1_275_329_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />            e.printStackTrace(System.err);<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #0000ff">return</span><span style="color: #000000"> jsonObject;<br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />    }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" /></span></div> <p> </p> <p>鍖呬笅杞藉湴鍧錛?a >http://www.json.org/java/index.html</a></p> <img src ="http://m.tkk7.com/myqiao/aggbug/263844.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/myqiao/" target="_blank">宸︽錘</a> 2009-04-04 00:08 <a href="http://m.tkk7.com/myqiao/archive/2009/04/04/263844.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>娣卞叆嫻呭嚭JSON (杞澆鏀惰棌)http://m.tkk7.com/myqiao/archive/2009/04/03/263841.html宸︽錘宸︽錘Fri, 03 Apr 2009 15:54:00 GMThttp://m.tkk7.com/myqiao/archive/2009/04/03/263841.html闃呰鍏ㄦ枃

宸︽錘 2009-04-03 23:54 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 91天堂素人精品系列全集亚洲| 亚洲综合无码精品一区二区三区| 亚洲美女在线观看播放| 无码国产精品一区二区免费式芒果 | 国产在线观看xxxx免费| 亚洲日本一区二区三区在线| 一级毛片不卡免费看老司机| 亚洲麻豆精品国偷自产在线91| rh男男车车的车车免费网站| 久久伊人亚洲AV无码网站| 中国一级特黄高清免费的大片中国一级黄色片 | 又黄又爽又成人免费视频| 亚洲一区在线免费观看| 成人性生免费视频| 色欲aⅴ亚洲情无码AV蜜桃| 国产一区二区三区无码免费| 无码 免费 国产在线观看91| 久久亚洲精品无码播放| 久久青草91免费观看| 亚洲国产精品久久丫| 国内精品免费视频自在线| 曰批全过程免费视频免费看 | 97视频免费在线| 亚洲成av人片天堂网无码】| 亚洲精品国产精品乱码不卡| 中国黄色免费网站| 亚洲精品免费在线视频| 大地资源在线观看免费高清| 婷婷亚洲综合五月天小说在线| 国产成人A亚洲精V品无码| 亚洲免费二区三区| 国产精品亚洲精品爽爽| 久久精品国产亚洲AV麻豆不卡| 亚色九九九全国免费视频| 牛牛在线精品观看免费正| 亚洲日本va午夜中文字幕一区| 免费看大黄高清网站视频在线| www在线观看播放免费视频日本| 亚洲色图黄色小说| 亚洲国产日韩成人综合天堂| 免费看又黄又无码的网站|