亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? test.java

?? Foundations_Of_Ajax中文版的源代碼
?? JAVA
字號:
package org.json;/*Copyright (c) 2002 JSON.orgPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.The Software shall be used for Good, not Evil.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/public class Test {    public static void main(String args[]) {        System.out.println("working");        try {            JSONObject j = new JSONObject("{ei: {ea: '\"\\''},eo: {a: '\"quoted\"', b:\"don't\"}, ea: [\"'\", '\"']}");            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("");            j = new JSONObject(                "/*comment*/{foo: [true, false,9876543210,    0.0, 1.00000001,  1.000000000001, 1.00000000000000001," +                " .00000000000000001, 2.00, 0.1, 2e100, -32,[],{}, \"string\"], " +                "  to   : null, op : 'Good'," +                "ten:10} postfix comment");            j.put("String", "98.6");            j.put("JSONObject", new JSONObject());            j.put("JSONArray", new JSONArray());            j.put("int", 57);            j.put("double", 57.57E20);            j.put("true", true);            j.put("false", false);            j.put("bool", "true");            j.put("zero", -0.0);            JSONArray a = j.getJSONArray("foo");            a.put(666);            a.put(2001.99);            a.put("so \"fine\".");            a.put("so <fine>.");            a.put(true);            a.put(false);            a.put(new JSONArray());            a.put(new JSONObject());            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("String: " + j.getDouble("String"));            System.out.println(" bool: " + j.getBoolean("bool"));            System.out.println("   to: " + j.getString("to"));            System.out.println(" true: " + j.getString("true"));            System.out.println("  foo: " + j.getJSONArray("foo"));            System.out.println("   op: " + j.getString("op"));            System.out.println("  ten: " + j.getInt("ten"));            System.out.println(" oops: " + j.optBoolean("oops"));            j = XML.toJSONObject("<xml one = 1 two=' 2 '><five></five>First \u0009&lt;content&gt;<five></five> This is \"content\". <three>  3  </three>  <three>  III  </three>  <three>  T H R E E</three><for/></xml>");            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("");            j = XML.toJSONObject("<mapping>   <class name = \"Customer\">      <field name = \"ID\" type = \"string\">         <bind-xml name=\"ID\" node=\"attribute\"/>      </field>      <field name = \"FirstName\" type = \"FirstName\"/>      <field name = \"MI\" type = \"MI\"/>      <field name = \"LastName\" type = \"LastName\"/>   </class>   <class name = \"FirstName\">      <field name = \"text\">         <bind-xml name = \"text\" node = \"text\"/>      </field>   </class>   <class name = \"MI\">      <field name = \"text\">         <bind-xml name = \"text\" node = \"text\"/>      </field>   </class>   <class name = \"LastName\">      <field name = \"text\">         <bind-xml name = \"text\" node = \"text\"/>      </field>   </class></mapping>");            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("");            j = XML.toJSONObject("<?xml version=\"1.0\" ?><Book Author=\"Anonymous\"><Title>Sample Book</Title><Chapter id=\"1\">This is chapter 1. It is not very long or interesting.</Chapter><Chapter id=\"2\">This is chapter 2. Although it is longer than chapter 1, it is not any more interesting.</Chapter></Book>");            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("");            j = XML.toJSONObject("<!DOCTYPE bCard 'http://www.cs.caltech.edu/~adam/schemas/bCard'><bCard><?xml default bCard        firstname = ''        lastname  = '' company   = '' email = '' homepage  = ''?><bCard        firstname = 'Rohit'        lastname  = 'Khare'        company   = 'MCI'        email     = 'khare@mci.net'        homepage  = 'http://pest.w3.org/'/><bCard        firstname = 'Adam'        lastname  = 'Rifkin'        company   = 'Caltech Infospheres Project'        email     = 'adam@cs.caltech.edu'        homepage  = 'http://www.cs.caltech.edu/~adam/'/></bCard>");            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("");            j = XML.toJSONObject("<?xml version=\"1.0\"?><customer>    <firstName>        <text>Fred</text>    </firstName>    <ID>fbs0001</ID>    <lastName> <text>Scerbo</text>    </lastName>    <MI>        <text>B</text>    </MI></customer>");            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("");            j = XML.toJSONObject("<!ENTITY tp-address PUBLIC '-//ABC University::Special Collections Library//TEXT (titlepage: name and address)//EN' 'tpspcoll.sgm'><list type='simple'><head>Repository Address </head><item>Special Collections Library</item><item>ABC University</item><item>Main Library, 40 Circle Drive</item><item>Ourtown, Pennsylvania</item><item>17654 USA</item></list>");            System.out.println(j.toString());            System.out.println(XML.toString(j));            System.out.println("");            j = XML.toJSONObject("<test intertag status=ok><empty/>deluxe<blip sweet=true>&amp;toot&toot;</blip><x>eks</x><w>bonus</w><w>bonus2</w></test>");            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("");            j = HTTP.toJSONObject("GET / HTTP/1.0\nAccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*\nAccept-Language: en-us\nUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90; T312461; Q312461)\nHost: www.nokko.com\nConnection: keep-alive\nAccept-encoding: gzip, deflate\n");            System.out.println(j.toString(2));            System.out.println(HTTP.toString(j));            System.out.println("");            j = HTTP.toJSONObject("HTTP/1.1 200 Oki Doki\nDate: Sun, 26 May 2002 17:38:52 GMT\nServer: Apache/1.3.23 (Unix) mod_perl/1.26\nKeep-Alive: timeout=15, max=100\nConnection: Keep-Alive\nTransfer-Encoding: chunked\nContent-Type: text/html\n");            System.out.println(j.toString(2));            System.out.println(HTTP.toString(j));            System.out.println("");            j = new JSONObject("{nix: null, nux: false, null: 'null', 'Request-URI': '/', Method: 'GET', 'HTTP-Version': 'HTTP/1.0'}");            System.out.println(j.toString(2));            System.out.println("isNull: " + j.isNull("nix"));            System.out.println("   has: " + j.has("nix"));            System.out.println(XML.toString(j));            System.out.println(HTTP.toString(j));            System.out.println("");            j = XML.toJSONObject("<?xml version='1.0' encoding='UTF-8'?>"+"\n\n"+"<SOAP-ENV:Envelope"+              " xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\""+              " xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\""+              " xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\">"+              "<SOAP-ENV:Body><ns1:doGoogleSearch"+              " xmlns:ns1=\"urn:GoogleSearch\""+              " SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"+              "<key xsi:type=\"xsd:string\">GOOGLEKEY</key> <q"+              " xsi:type=\"xsd:string\">'+search+'</q> <start"+              " xsi:type=\"xsd:int\">0</start> <maxResults"+              " xsi:type=\"xsd:int\">10</maxResults> <filter"+              " xsi:type=\"xsd:boolean\">true</filter> <restrict"+              " xsi:type=\"xsd:string\"></restrict> <safeSearch"+              " xsi:type=\"xsd:boolean\">false</safeSearch> <lr"+              " xsi:type=\"xsd:string\"></lr> <ie"+              " xsi:type=\"xsd:string\">latin1</ie> <oe"+              " xsi:type=\"xsd:string\">latin1</oe>"+              "</ns1:doGoogleSearch>"+              "</SOAP-ENV:Body></SOAP-ENV:Envelope>");            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("");            j = new JSONObject("{Envelope: {Body: {\"ns1:doGoogleSearch\": {oe: \"latin1\", filter: true, q: \"'+search+'\", key: \"GOOGLEKEY\", maxResults: 10, \"SOAP-ENV:encodingStyle\": \"http://schemas.xmlsoap.org/soap/encoding/\", start: 0, ie: \"latin1\", safeSearch:false, \"xmlns:ns1\": \"urn:GoogleSearch\"}}}}");            System.out.println(j.toString(2));            System.out.println(XML.toString(j));            System.out.println("");            j = CookieList.toJSONObject("  f%oo = b+l=ah  ; o;n%40e = t.wo ");            System.out.println(j.toString(2));            System.out.println(CookieList.toString(j));            System.out.println("");            j = Cookie.toJSONObject("f%oo=blah; secure ;expires = April 24, 2002");            System.out.println(j.toString(2));            System.out.println(Cookie.toString(j));            System.out.println("");            j = new JSONObject("{script: 'It is not allowed to send a close script tag in a string<script>because it confuses browsers</script>so we insert a backslash before the /'}");            System.out.println(j.toString());            System.out.println("");            JSONTokener jt = new JSONTokener("{op:'test', to:'session', pre:1}{op:'test', to:'session', pre:2}");            j = new JSONObject(jt);            System.out.println(j.toString());            System.out.println("pre: " + j.optInt("pre"));            int i = jt.skipTo('{');            System.out.println(i);            j = new JSONObject(jt);            System.out.println(j.toString());            System.out.println("");            a = CDL.toJSONArray("No quotes, 'Single Quotes', \"Double Quotes\"\n1,'2',\"3\"\n,'It is \"good,\"', \"It works.\"\n\n");            System.out.println(CDL.toString(a));            System.out.println("");            System.out.println(a.toString(4));            System.out.println("");                         a = new JSONArray(" [\"<escape>\", next is an implied null , , ok] ");            System.out.println(a.toString());            System.out.println("");            System.out.println(XML.toString(a));            System.out.println("");						j = new JSONObject("{'+':+666 ;pluses=+++;empty = '' , 'double':0.666,true: TRUE, false: FALSE, array = [!,@;*]; string=>  o. k. ; # comment\r oct=0666; hex=0x666; dec=666; noo=0999; noh=0x0x}");            System.out.println(j.toString(4));            System.out.println("");			if (j.getBoolean("true") && !j.getBoolean("false")) {				System.out.println("It's all good");			}		} catch (Exception e) {            System.out.println(e.toString());        }    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品亚洲国内自在自线福利| 日韩亚洲欧美高清| 国产一区三区三区| 九九视频精品免费| 国产91综合网| 成人一区二区三区在线观看| 成人黄色电影在线| 91亚洲精品久久久蜜桃网站| 91麻豆蜜桃一区二区三区| 91网页版在线| 欧美日韩国产影片| 精品少妇一区二区三区日产乱码| 精品国产免费一区二区三区四区| 国产亚洲一二三区| 中文字幕一区二区三区av| 一区二区三区色| 日韩精品91亚洲二区在线观看| 麻豆一区二区三| 精品在线免费视频| 成人丝袜18视频在线观看| 99久久精品国产观看| 欧美在线观看视频在线| 日韩精品一区二区三区在线播放| 久久嫩草精品久久久精品一| 中文字幕日韩一区| 天堂va蜜桃一区二区三区漫画版| 国产揄拍国内精品对白| 91影院在线观看| 欧美一区二区视频免费观看| 国产欧美日韩卡一| 午夜精品福利视频网站| 国产精品一级片在线观看| 在线观看网站黄不卡| 亚洲精品在线免费播放| 一区二区日韩电影| 国产精品白丝jk黑袜喷水| 在线看国产一区二区| 欧美tk—视频vk| 亚洲一区二区三区四区在线观看| 美女视频一区二区| 在线视频你懂得一区| 国产网站一区二区| 首页国产丝袜综合| 色婷婷久久久亚洲一区二区三区| 欧美电影免费观看高清完整版在线 | 亚洲一级二级三级| 国产精品一区二区你懂的| 欧美日韩国产一区二区三区地区| 国产精品久久久久久久久搜平片| 日韩av一区二区三区四区| 99re成人精品视频| 国产蜜臀av在线一区二区三区| 午夜久久电影网| 91视频国产资源| 国产精品久久久久影视| 老司机一区二区| 777久久久精品| 五月婷婷综合网| 91成人看片片| 亚洲精品久久久蜜桃| 粉嫩aⅴ一区二区三区四区五区| 日韩一级大片在线| 青青草成人在线观看| 日本道在线观看一区二区| 成人欧美一区二区三区白人| 精品亚洲aⅴ乱码一区二区三区| 色欧美乱欧美15图片| 中文字幕一区二区三区乱码在线| 国产jizzjizz一区二区| 日韩一区二区三区四区| 青青草成人在线观看| 91麻豆精品91久久久久同性| 天天综合网天天综合色| 在线综合亚洲欧美在线视频| 日韩国产在线一| 91精品国产综合久久香蕉的特点| 丝袜美腿亚洲一区| 日韩欧美资源站| 国产资源在线一区| 久久中文娱乐网| 国产91精品精华液一区二区三区| 国产三级三级三级精品8ⅰ区| 国产91清纯白嫩初高中在线观看| 国产欧美精品一区二区色综合| 国产精品99久久久久| 中文字幕一区二区三区四区| 色婷婷精品久久二区二区蜜臂av| 一区二区三区美女| 欧美理论电影在线| 久草在线在线精品观看| 日本一区二区三级电影在线观看 | 成人国产视频在线观看| 自拍偷拍亚洲欧美日韩| 欧美三级中文字幕在线观看| 日韩精品一区第一页| 欧美刺激脚交jootjob| 国产成人精品一区二| 国产精品成人免费精品自在线观看| 97se亚洲国产综合自在线不卡| 亚洲精品成人精品456| 91精品国产91久久久久久一区二区 | 美女在线视频一区| 久久日韩粉嫩一区二区三区| 99国产精品视频免费观看| 亚洲va欧美va人人爽| 久久人人爽爽爽人久久久| 91免费观看在线| 激情丁香综合五月| 亚洲欧美aⅴ...| 日韩免费视频一区二区| 91视频一区二区| 韩日av一区二区| 亚洲成人1区2区| 国产精品久久国产精麻豆99网站| 欧美肥胖老妇做爰| a级高清视频欧美日韩| 日韩成人dvd| √…a在线天堂一区| 欧美一区二区观看视频| 99久久久精品免费观看国产蜜| 日韩电影一区二区三区四区| 亚洲婷婷国产精品电影人久久| 欧美影院一区二区三区| 国产iv一区二区三区| 奇米影视在线99精品| 亚洲综合免费观看高清在线观看| 国产拍欧美日韩视频二区| 69精品人人人人| 日本乱人伦一区| 99在线热播精品免费| 国产在线播放一区二区三区| 日韩精品国产欧美| 亚洲高清免费一级二级三级| 亚洲国产精品av| 2022国产精品视频| 日韩欧美一区二区不卡| 717成人午夜免费福利电影| 在线精品视频一区二区三四| 成人网男人的天堂| 国产高清在线精品| 国产一区在线精品| 六月丁香婷婷久久| 日日夜夜精品视频天天综合网| 亚洲综合在线免费观看| 亚洲精选一二三| 亚洲欧美日韩久久| 亚洲三级在线看| 亚洲三级久久久| 亚洲精品免费看| 一区二区三区欧美日| 一区二区在线观看免费| 亚洲天堂精品视频| 亚洲精品美腿丝袜| 亚洲在线成人精品| 亚洲不卡一区二区三区| 五月天亚洲精品| 日韩电影在线观看电影| 精品制服美女久久| 国产一区在线视频| 成人国产一区二区三区精品| 99久久国产综合色|国产精品| 不卡的电影网站| 日本丶国产丶欧美色综合| 欧美日精品一区视频| 91麻豆精品国产自产在线观看一区 | 欧美精品电影在线播放| 欧美一区二区三区人| 久久一留热品黄| 亚洲天堂网中文字| 天天综合日日夜夜精品| 精品一区二区成人精品| 国产精品91xxx| 99在线精品一区二区三区| 欧洲精品在线观看| 日韩精品中午字幕| ●精品国产综合乱码久久久久 | 日韩精彩视频在线观看| 人人精品人人爱| 国产91精品一区二区| 日本韩国欧美三级| 日韩欧美在线观看一区二区三区| 国产日产欧产精品推荐色| 亚洲九九爱视频| 国产麻豆成人传媒免费观看| 99久久免费视频.com| 91精品国产综合久久久久久| 久久精品亚洲乱码伦伦中文| 夜夜嗨av一区二区三区四季av| 麻豆成人91精品二区三区| 99精品久久99久久久久| 日韩欧美一区二区三区在线| 亚洲视频网在线直播| 精品在线亚洲视频| 欧美中文字幕一区二区三区亚洲 | 中文字幕佐山爱一区二区免费| 日韩 欧美一区二区三区| 成人h动漫精品| 欧美大度的电影原声| 一区二区三区四区国产精品| 国产精品1区2区|