iwouldliketoextractthevaluesfromjsonarray.jsonarrayhasnnumberofrowsandcolumns。
动态表单=动态表单. bindfromrequest (;
动态动态=动态格式. get (;
//List list=new ArrayList (;
//List iterate=new ArrayList (;
String data=dynamic.getData ().get ) (content ).toString );
try {
zzdmpjsonarray=newzz DMP (数据;
for(intI=0; i jsonArray.length (; I ) {
}catch(JSONexceptione ) {
//todo auto-generated catch块
e .打印堆栈跟踪(;
}
its结果As Follows。
iwouldliketoextractonebyonevaluesandassignittovariable.for example 1001432,05-KalenJi-p 1229,kalen Ji,2,2014-11-11
you can done using this code,
This is the perfect code,
//put your json in data string
zzdmpjsonarray=newzz DMP (数据;
IF (JSon阵列!=null jsonArray.length ()0) {
for(intI=0; i jsonArray.length (; I ) {
zzdmpchildjsonarray=JSON array.optzzdmp (I;
if(childjsonarray!=nullchildjsonarray.length(0) {
for(intj=0; j childJsonArray.length (; j ) {
}
}
}
}