mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed the error when parsing a non existing field name in JSON.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user