ã¨ããã®ãä½ã£ã¦ã¿ã JsonML ã¨ã¯ JSON ã使ã£ããã¼ã¯ã¢ããè¨èªã§ãã http://jsonml.org/ 使ããã // ãã³ãã¬ã¼ãã®ä½æ // <div class="section"><h2>ã¿ã¤ãã«</h2><p>æ¬ææ¬ææ¬æ</p></div> var t = $T(['div', {class: 'section'}, ['h2', 'ã¿ã¤ãã«'], ['p', 'æ¬ææ¬ææ¬ææ¬æ'] ]); // è¦ç´ ã®çæ document.body.appendChild(t()); // å¼ã³åºãã ã // ãã³ãã¬ã¼ãã®ä½æ var t = $T(['div', {class: 'section'}, ['h3', function(c){return c.getVar('title')}], // ã¿ã¤ãã«ãåçã«çæ ['p', function(c){retur
JsonML.org JSON Markup Language (JsonML) JsonML (JSON Markup Language) is an application of the JSON (JavaScript Object Notation) format. The purpose of JsonML is to provide a compact format for transporting XML-based markup as JSON which allows it to be losslessly converted back to its original form. Native XML/XHTML doesn't sit well embedded in JavaScript. When XHTML is stored in script it must
WebOS Goodies ã¸ããããï¼ WebOS ã¯ã¤ã³ã¿ã¼ãããã®æªæ¥å½¢ããããã Web ãµã¤ããç¹ãããå ±æããååãã¦åµãä¸ãããã²ã¨ã¤ã®å·¨å¤§ãªæ å ±ã·ã¹ãã ã§ããããã§ã¯ãããããæ å ±ããããã¯ã¼ã¯ä¸ã«èç©ãããæã ã¯ãã¤ã§ããã©ãããã§ããå¤å½©ãªããã¤ã¹ã使ã£ã¦ãããã«ã¢ã¯ã»ã¹ã§ãã¾ãã WebOS Goodies ã¯ããã¾ãã¾ãªæ å ±æä¾ããã¼ã«éçºãéãã¦ããããªä¸çã®å®ç¾ã«å°ãã§ãè²¢ç®ããã¹ãæ´»åãã¦ããã¾ãã
JSONæååãevalãã¦å¤ãåãããã¨ãã«æåãå¦ã§ã¯ã¾ã£ããã¨ãã話ãèããã®ã§ãFirefox1.5ä¸ã®FireBugã®ã³ã³ã½ã¼ã«ã§ä½ãã¿ã¼ã³ã試ãã¦ã¿ãã {"key":"value"}ã¨ããJSONãã¼ã¿ãæååã§æ¸¡ã£ã¦ãã¦ããããevalãã¦JavaScriptã®å¤ã¨ãã¦ä½¿ããããã¨ããæ³å®ã ééã£ãJSONæååãevalããå ´å >>> jsonstr = "{key:\"value\"}" "{key:"value"}" >>> var obj = eval(jsonstr) >>> obj "value" >>> typeof(obj) "string"JSONã®ãªãã¸ã§ã¯ãã§ã¯ãã©ãã«ã""ã§ããã£ã¦æååã«ããªãã¨ãããªãã®ã ããã¾ãã¯ãããå¿ããå ´åã試ãã¦ã¿ããçµæã¨ãã¦è¿ã£ã¦ããã®ã¯ããªãã¨JSONã®ããã·ã¥ã®è¦ç´ ã«ããã¤ããã®æååã®ã¿ã æ£ããJSON
The function type from javascript is not part of the JSON format "officially" (please refer to http://www.json.org) but it is supported as well. Json-lib comes in two flavors, depending on the jdk compatibility. json-lib-x.x-jdk13 is compatible with JDK 1.3.1 and upwards. json-lib-x.x-jdk15 is compatible with JDK 1.5, includes support for Enums in JSONArray and JSONObject. Please reffer to the app
JSONP ã Opera ã ã¨éåæå¦çã§ããªã http://d.hatena.ne.jp/secondlife/20060906/1157515075 ã«æ¸ããã¦ããã¨ããOperaã ã¨scriptè¦ç´ ã足ããç¬éã«JavaScriptã®å®è¡ãæ¢ã¾ã£ã¦ããã¼ãå®äºã¾ã§å¾ç¶ã®ã¹ã¯ãªãããå®è¡ãããªããªãã¾ãã ãµã³ãã« http://la.ma.la/misc/js/opera_jsonp_test.html ããã§ããªã¯ã¨ã¹ãã®åº¦ã«ããã¼ã®IFRAMEãä½ã£ã¦ããã®IFRAMEå ã®contentWindowã§å®è¡ããã¨ããæ¹æ³ã試ãã¦ã¿ã¾ããã IFRAMEå ã§JSONããã¼ããããµã³ãã« http://la.ma.la/misc/js/iframe_jsonp_request.html ãªããIEã§åããªãã£ã½ããã©æ°ã«ããªããç¸å¤ãããã¿ã¤ãã¼ã¯åæ¢ãã¾ãããappendChil
ååã®ã¨ã³ããªã§è§¦ããJSONPãååºã¯Remote JSON - JSONPã¨ããMochiKitã®ä¸ã®äººã«ããã¨ã³ããª(å¤åãä¸è¨ã§è¨ããªããJSONãã¼ã¿ãæ¬å¼§ã§ããã£ãä¸ã§ãã£ã¡ãæå®ããæååãé ã«ã¤ãã¦è¿ãã¦ãï¼ãã¨ãããã®ãæç« ã§èª¬æããã¨ããããããã ã¤ã¾ãã http://example.com/data.json?jsonp=beverly_hills ã¨ãªã¯ã¨ã¹ããããã beverly_hills({ foo: 'This is foo.', bar: 'This is bar.', foobar: 'This is foobar.' }); ã¨è¿ããã¾ãã http://example.com/data.json?jsonp=beverly_hills%5B90210%5D ã¨ãªã¯ã¨ã¹ããããã beverly_hills[90210]({ foo: 'This
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}