1、首先,网页在线校验一下前端封装得JSON 数据。
2、是正确的JSON数据,在到后台调试。
3、后端代码如下: StreamReader str = new StreamReader(Request.InputStream); string vawee = str.ReadToEnd(); if (str != null) { str.Close(); } JArray listy = JArray.Parse(vawee); if (listy != null && listy.Count > 0) { foreach (JToken jt in listy) { foreach (IJEnumerable<JToken> jp in jt.Values()) { JsonArrayObjects QW = JsonObject.ParseArray(jt.ToString()); for (int j = 0; j < QW.Count; j++) { foreach (var qwqw in QW[j]) { Logger.Info(qwqw.Key + "------" + qwqw.Value); } } } } }正确解析如下图所示。