jSon 也支援大部份的程式語言,
參考看看 URL: http://www.json.org/
如果收到的 json 字串是: \u5922\u5e7b\u68d2\u58d8\u793e
要怎麼知道對應到的中文字是什麼?
程式碼:

* 說明: 透過 getElement() 即可取得欄位裡的內容.
執行結果:

=============================================
* 備註: 範例中的 json 和 base.asp 是取自於 ASP Xtreme Evolution:
URL: http://zend.lojcomm.com.br
Written by Fabio Zendhi Nagao
沒有留言:
張貼留言