pResponse.%JSONImport(tHttpResponse.Data)  failing when we have mulitple (array) json objects in response.</p>

set patientSearchList = ##class(msg..patient.PatientSearchList).%New()</p>

rListObj={} 
rListObj.%Set(ListViewName,[].%FromJSON(tHttpResponse.Data))</p>

 do pResponse.%JSONImport(rListObj)

 

What's the better way to handle multiple json objects coming in response.

</body></html>