Hi Community,
I am trying to read a JSON file and convert into HL7 message.Please find the example below
Set Jsonobj={"Doctype":"ADT^A01","PatientId":"123","PatientName":"Alex"}
Set Dynjsonobj=##class(%Library.DynamicObject).%FromJSON(Jsonobj)
Error :<THROW>%FromJSON+37^%Library.DynamicAbstractObject.1 *%Exception.General READ error while reading input stream 10 Line 1 Offset 0
I am getting this error while reading the file,Can you please tell me where i am doing wrong in converting the file?
Joe

.png)
.png)
.jpg)
.png)

