From a1a27b359d873cd266c35415260262151d0777c7 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Thu, 27 Oct 2022 07:39:30 +1100 Subject: [PATCH] json fix --- .../main/java/org/hl7/fhir/utilities/json/JsonUtilities.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/JsonUtilities.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/JsonUtilities.java index 47f8674a7..c66df9667 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/JsonUtilities.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/JsonUtilities.java @@ -179,4 +179,8 @@ public class JsonUtilities { return odt.toInstant(); } } + + public static void setProperty(JsonObject json, String name, String value) { + json.addProperty(name, value); + } } \ No newline at end of file