我有一个JSONObject,其中包含两个JSONObjects(键是rows_map和columns_map)
{
"rows_map":{
"3":["Test","Test","Test","Test","Test",null,null,null,null,null,"2011-10-07 15:47:56.0",null,null],
"2":["test","","","","",null,null,null,"123456789","123456789.user","2011-10-07 12:49:49.0",null,null]
},
"columns_map":{
columns_map":"fld1","fld2","fld3","fld4","fld5","Latitude","Longitude","Altitude","Mobile Number","Name","Time","Message","Advertisment"]
}
}
在rows_map中,3和2是记录号。 每条记录都与columns_map中的列相关。 我想根据手机号码列获取记录列表 例如:mobilenumber的记录列表等于123456789
我该怎么做。
答案 0 :(得分:0)
如果您尝试使用java读取json,则应将其解析为对象而不是语法。看一眼: https://stackoverflow.com/questions/338586/a-better-java-json-library