any persistan class can be used as msg body, if i use one of my persistent class(ex sample.person) as msg in the ensemble then perform purge management where inculde msg bodies .. will we loose the sample.person data?
pResponse.%JSONImport(tHttpResponse.Data) failing when we have mulitple (array) json objects in response.
set patientSearchList = ##class(msg..patient.PatientSearchList).%New()
s rListObj={}
d rListObj.%Set(ListViewName,[].%FromJSON(tHttpResponse.Data))
do pResponse.%JSONImport(rListObj)
What's the better way to handle multiple json objects coming in response.