Fixed the error when parsing a non existing field name in JSON.

This commit is contained in:
ruri
2019-04-06 18:02:58 +02:00
parent bd5b35fe09
commit b81262f9c3
+2
View File
@@ -402,6 +402,8 @@ namespace RuriLib
foreach(var j in jsonlist)
if (j.Key == ReplaceValues(jsonField, data))
list.Add(j.Value);
if (list.Count == 0) list.Add("");
break;
case ParseType.XPATH: