reintroduce hack for invalid template OO json
This commit is contained in:
parent
8afc08b6aa
commit
bd85546820
|
@ -23991,7 +23991,9 @@ public class JsonParser extends JsonParserBase {
|
||||||
if (json.has("issue")) {
|
if (json.has("issue")) {
|
||||||
JsonArray array = getJArray(json, "issue");
|
JsonArray array = getJArray(json, "issue");
|
||||||
for (int i = 0; i < array.size(); i++) {
|
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()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue