|
@@ -303,7 +303,8 @@ namespace UAS_Web.tool
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
- MatchCollection Match = Regex.Matches(JsonData, @"""(.+?)"": {0,1}(\[[\s\S]+?\]|null|"".+?""|-{0,1}\d*)");//使用正则表达式匹配出JSON数据中的键与值
|
|
|
|
|
|
|
+ MatchCollection Match = Regex.Matches(JsonData, @"""(.+?)"": {0,1}(\[[\s\S]+?\}\s*\]|null|"".+?""|-{0,1}\d*)");//使用正则表达式匹配出JSON数据中的键与值
|
|
|
|
|
+
|
|
|
foreach (Match item in Match)
|
|
foreach (Match item in Match)
|
|
|
{
|
|
{
|
|
|
try
|
|
try
|