公共字符串获取JSON (
stringjsonstring=' {' flag' :' flag','MESSAGE':'SUCCESS', ' name' 333333323652306;
try {
int num=result.length (;
int length=nameList.length (;
String aa=' ';
for(intI=0; i length; I ) )//魅力项链/plog.d ) ' debugtest ',integer.tostring(I );
aa=aaOJ.getstring('name'(|) );
}
Iterator it=result.keys (;
String aa2=' ';
string bb2=空;
while(it.hasnext () ) (/HHDSB/PBB2 ) ) (toString ) it.next ).toString );
A2=AA2result.getstring(BB2;
}
返回AA;
}catch(JSONexceptione ) {
thrownewruntimeexception(e;
}
}