ã¯ããã« pythonã§ã¯2.6以éãªãã°jsonã©ã¤ãã©ãªã使ã£ã¦jsonãç°¡åã«ä½¿ãã¦ä¾¿å©ã§ãã jsonã©ã¤ãã©ãªã使ãã¨ãjsonæååãparseãã¦è¾æ¸ã§åå¾ãããã¨ãã§ããã®ã§ããã jsonã®é層ãæ·±ãã¨ãªãã¸ã§ã¯ãã£ã½ãã¢ã¯ã»ã¹ã§ããªãããªã¼ã¨æãã¨ããããã¾ãã æ¢ã«åããããªãã¨ããã£ã¦ã人ããããã§ãããæéããã£ãã®ã§è»½ãå®è£ ãã¦ã¿ã¾ããã ã½ã¼ã¹ class DictAccessLikeObj(dict): """ >>> DictAccessLikeObj({"foo":"hoge"}).foo 'hoge' >>> DictAccessLikeObj({u"foo":[{u"bar":u"baz"}]}).foo[0].bar u'baz' >>> DictAccessLikeObj({u"foo":[[1,2,3]]}).foo[0][2] 3 """ d
{{#tags}}- {{label}}
{{/tags}}