How to parse this JSON?
Posted: Tue Apr 24, 2012 11:08 am
I have a string look like
oo= { "stat":"ok", "list":[{ "url":["http://www.worldcat.org/oclc/61280830?referer=xid"], "publisher":"Shi bao wen hua chu ban qi ye gu fen you xian gong si", "form":["BC"], "lang":"chi", "city":"Taibei Shi", "author":"Liu Li'er.", "ed":"Chu ban.", "year":"2005", "isbn":["9789571342986"], "title":"Dongjing man chi ju le bu", "oclcnum":["61280830", "82307052"]}]}
How can I parse into
publisher
author
etc
My understanding is
oo.publisher = ...
should get the publisher?
Is not it just a list?
oo= { "stat":"ok", "list":[{ "url":["http://www.worldcat.org/oclc/61280830?referer=xid"], "publisher":"Shi bao wen hua chu ban qi ye gu fen you xian gong si", "form":["BC"], "lang":"chi", "city":"Taibei Shi", "author":"Liu Li'er.", "ed":"Chu ban.", "year":"2005", "isbn":["9789571342986"], "title":"Dongjing man chi ju le bu", "oclcnum":["61280830", "82307052"]}]}
How can I parse into
publisher
author
etc
My understanding is
oo.publisher = ...
should get the publisher?
Is not it just a list?