古い記事
ランダムジャンプ
新しい記事
SpiderMonkey[2005-09-08-6]で動作テストしてみた(まさにこういうと
きに便利):
js> var tree = {c0 : { c1 : ['abc', 'def'], c2 : 'ghi' } }
js> tree.c0.c1
abc,def
js> tree.c0.c1[1]
def
js> tree.c0.c1[0][2]
c
js> tree.c0.c2
ghi
js> tree.c0.c2[1]
h

ref.
- Introducing JSON
  <http://www.crockford.com/JSON/index.html>
JSON (JavaScript Object Notation) is a lightweight
data-interchange format.
- JSON/簡単なテスト:基本
  <http://jsgt.org/ajax/ref/test/json/test1.htm>