Looking for a way to Parse or access a JSON response by tag
I have a business process that I call a class that returns a JSON message. I was hoping to be able to reference the tag or iterate through the response until I find my value.
set tRequest = ##class(CDSM.MemberAPI.Request).%New()
set tRequest.DateOfBirth = ptDOB
set tRequest.FirstName = ptFname
set tRequest.LastName = ptLname // Business operation needs to be parameterized
set tSC = ..SendRequestSync("boEISLMemberAPI, tRequest")
Just pasting the value I am interested since the response is 300 values long.
<memberId>12345678</memberId>
Product version: IRIS 2020.2