解析使用HTTP方式调用金蝶查询单据返回的LIST数据
作者:互联网
//Result 是查询单据API返回的字符串数据 例如 [[1,"100","天爵接口测试"],[2,"200","天爵接口测试2"]]
JArray JA = new JArray();
JA = JArray.Parse(Result );
if (JA.Count > 0)
{
string a = "";
JArray ja = new JArray();
for (int i = 0; i < JA.Count; i++)
{
ja = JArray.Parse(JA[i].ToString());
for (int j = 0; j < ja.Count; j++)
{
a = ja[j].ToString();
}
}
}
标签:Count,HTTP,金蝶,int,天爵,JArray,LIST,JA,ja 来源: https://www.cnblogs.com/zfangfang/p/15854309.html