<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>映像とその周辺 &#187; json</title>
	<atom:link href="http://www.kalium.net/image/tag/json/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kalium.net/image</link>
	<description></description>
	<lastBuildDate>Sun, 13 Nov 2011 03:36:10 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Jsphonの入手先</title>
		<link>http://www.kalium.net/image/2009/08/30/jsphon%e3%81%ae%e5%85%a5%e6%89%8b%e5%85%88/</link>
		<comments>http://www.kalium.net/image/2009/08/30/jsphon%e3%81%ae%e5%85%a5%e6%89%8b%e5%85%88/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 10:42:17 +0000</pubDate>
		<dc:creator>araken</dc:creator>
				<category><![CDATA[PHP, PostgreSQL]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.kalium.net/image/2009/08/30/jsphon%e3%81%ae%e5%85%a5%e6%89%8b%e5%85%88/</guid>
		<description><![CDATA[Via! Jsphonをcodereposにアップロードしました。 &#8211; XOOPS専門-株式会社RYUS Jsphonの配布元が閉鎖になっているが、ここからダウンロード可能 pear install http [...]]]></description>
			<content:encoded><![CDATA[<p>Via! <a href="http://ryus.co.jp/modules/d3blog/details.php?bid=13">Jsphonをcodereposにアップロードしました。 &#8211; XOOPS専門-株式会社RYUS</a></p>
<p>Jsphonの配布元が閉鎖になっているが、ここからダウンロード可能</p>
<pre>pear install http://svn.coderepos.org/share/lang/php/Jsphon/release/Jsphon-1.0.1.tgz</pre>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=2d20a15c-e9c0-8b57-a93f-6f2b1593ca4a" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.kalium.net/image/2009/08/30/jsphon%e3%81%ae%e5%85%a5%e6%89%8b%e5%85%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSONの使い方</title>
		<link>http://www.kalium.net/image/2008/08/05/json%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9/</link>
		<comments>http://www.kalium.net/image/2008/08/05/json%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 03:05:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash / ActionScript3.0]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://www.kalium.net/image/?p=660</guid>
		<description><![CDATA[Google Languageを使ってみたく、ドキュメントを見ていると、asからRESTで返って来るJSONを読み取る必要があるので、初めてだったがJSONを使ってみた。 JSONを扱うには、adobeが配っているcor [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/apis/ajaxlanguage/documentation/">Google Language</a>を使ってみたく、ドキュメントを見ていると、asからRESTで返って来るJSONを読み取る必要があるので、初めてだったがJSONを使ってみた。</p>
<p>JSONを扱うには、adobeが配っているcorelibを用いる。<br />
<a href="http://code.google.com/p/as3corelib/">as3corelib &#8211; Google Code</a></p>
<p>importはこのような感じ。</p>
<p>    import com.adobe.serialization.json.JSON;</p>
<p>実際の使い方としては、LoaderでRESTに問い合わせ、その返ってきたデータをJSONクラスに食べさせる。インスタンスloaderが取得したデータを読み取る場合は、こんな感じ。</p>
<p>var jsonObj:Object = JSON.decode( loader.data );<br />
_translate = jsonObj["responseData"]["translatedText"];</p>
<p>APIからのコールバックは、</p>
<pre>{"responseData": {
    "translatedText":"Ciao mondo"
 },
 "responseDetails": null, "responseStatus": 200}</pre>
<p>というような内容になっているので、2行目の様なアクセスで文字列を取得できる（ここでは翻訳された文章が取得できている）。</p>
<p>JSONも素晴らしかったが、自動翻訳してくれるGoogle Languageも素晴らしい。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kalium.net/image/2008/08/05/json%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

