import net
.sf.json.JSONArray
import net
.sf.json.JSONObject
//FPInfo--->StrJson
JSONObject jsonObject = JSONObject
.fromObject(FPInfo)
if(jsonObject
.has(
"list")){
JSONArray array=jsonObject
.getJSONArray(
"list")
for(int i=
0
JSONObject subObject=array
.getJSONObject(i)
if(subObject
.get(
"name2")
.toString()
.equals(
"价税合计")){
JSHJ=subObject
.get(
"value")
.toString()
break
}
}