JSON文件我有JSON文件,我需要類文件關於它如何讀取從資產文件夾中的Android
{
"CountryDetail":[
{
"C_country":"India",
"C_sunrise":1381107633,
"C_sunset":1381149604
},
"weatherDetail":
{
"w_id":711,
"w_main":"Smoke",
"w_description":"smoke",
}
,
"Tempdetail":
{
"t_temp":304.15,
"t_pressure":1009,
}
}
參考http://stackoverflow.com/questions/19945411/android-java-how-can-i-parse-a-local-json-file-from-assets-folder-into- a-listvi – sasikumar
發佈有效的json。 –