work around bug in template OO

This commit is contained in:
Grahame Grieve 2022-11-25 22:36:14 -03:00
parent f3413dad23
commit 275d83a4c7
1 changed files with 3 additions and 1 deletions

View File

@ -23795,7 +23795,9 @@ public class JsonParser extends JsonParserBase {
if (json.has("issue")) {
JsonArray array = getJArray(json, "issue");
for (int i = 0; i < array.size(); i++) {
res.getIssue().add(parseOperationOutcomeIssueComponent(array.get(i).getAsJsonObject()));
if (array.get(i).isJsonObject()) {
res.getIssue().add(parseOperationOutcomeIssueComponent(array.get(i).getAsJsonObject()));
}
}
};
}