How to pers Json with VBA in Ms Access
Kindly help me to have the listed code below work in Ms Access VBA , I have already imported the JsonBas converter from GTuB site.
On My request it say user not defined
I want to have JRA-9 showing after clicking the above button, this part of my training if this works , then the next stage is prepare the Json Spec , I may also ask how to go about it, I'm not worried about opening the record set that used to feed the Json.
Regards
Chris
Private Sub CmdJson_Click()
Set MyRequest = CreateObject("winhttp.winhttprequest.5.1")
MyRequest.Open "GET", "https://jira.atlassian.com/rest/api/latest/issue/JRA-9"
MyRequest.Send
Dim Json As Object
Set Json = JsonConverter.ParseJson(MyRequest.ResponseText)
MsgBox Json("Key")
End Sub
On My request it say user not defined
I want to have JRA-9 showing after clicking the above button, this part of my training if this works , then the next stage is prepare the Json Spec , I may also ask how to go about it, I'm not worried about opening the record set that used to feed the Json.
Regards
Chris
ASKER
Hi John
I think you have a point I'm not able to see a full code on their site Github , I was just watching a video from their site , it could be I got the code wrong , guide me to the correct code , the jsonbas I downloaded the correct its able to compile.
Regards
Chris
I think you have a point I'm not able to see a full code on their site Github , I was just watching a video from their site , it could be I got the code wrong , guide me to the correct code , the jsonbas I downloaded the correct its able to compile.
Regards
Chris
Here is the code : https://github.com/omegastripes/VBA-JSON-parser
ASKER
Okay
I have seen it but I want something for Ms Access not Excel
Regards
Chris
I have seen it but I want something for Ms Access not Excel
Regards
Chris
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
and youOpen in new window
Can you give some info on where you found the sample code you are using ?