|
|
|
@ -97,7 +97,8 @@ public class ArrayIndexFilter extends PathTokenFilter {
|
|
|
|
|
String[] indexArr = COMMA.split(trimmedCondition); |
|
|
|
|
|
|
|
|
|
if(obj == null || jsonProvider.length(obj) == 0){ |
|
|
|
|
throw new PathNotFoundException("Failed to access array index: '" + condition + "' since the array is null or empty"); |
|
|
|
|
//throw new PathNotFoundException("Failed to access array index: '" + condition + "' since the array is null or empty");
|
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (indexArr.length == 1) { |
|
|
|
|