diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/JsonParser.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/JsonParser.java index 09e2eabea..0d63655c0 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/JsonParser.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/JsonParser.java @@ -23991,7 +23991,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())); + } } }; }