Gson ã¨ã¯ Java 㧠JSON ãæ±ãã©ã¤ãã©ãª ãªãã¸ã§ã¯ã㨠JSON ã®ç¸äºå¤æãã·ã³ãã«ã«è¡ãã http://code.google.com/p/google-gson/ Android 㧠JSON ãã¼ã¿ã®å¼ã³åºã assets ã« "sample.json" ã¨ã㦠JSON ãã¼ã¿ãä¿å { first_name: taro, last_name: yamada, favorite: { music: pops, book: novels, }, histories: [ { date: "1980-01-01", desc: "Birthed." }, { date: "1986-04-01", desc: "Elementary school entrance." }, ], } Activity 㧠JSON ãã¼ã¿ã InputStream ã¨ãã¦å¼ã³åºã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}