peskywinnets
Registered User.
- Local time
- Today, 10:34
- Joined
- Feb 4, 2014
- Messages
- 578
I'm trying to parse using the popular VBA JSON parser, but because a key doesn't exist, my code breaks with a Run-Time error 13 Type Mismatch.
Here's my line of code...
EbayTaxType = json("lineItems")(1)("ebayCollectAndRemitTaxes")(1)("taxType")
...I've done a google search, but I'm going around in circles, would anyone be able to offer up a solution to check whether.. ..
"lineItems")(1)("ebayCollectAndRemitTaxes")(1)("taxType"
...exists as a boolean?
(because then I can work around things)
Many thanks.
Here's my line of code...
EbayTaxType = json("lineItems")(1)("ebayCollectAndRemitTaxes")(1)("taxType")
...I've done a google search, but I'm going around in circles, would anyone be able to offer up a solution to check whether.. ..
"lineItems")(1)("ebayCollectAndRemitTaxes")(1)("taxType"
...exists as a boolean?
(because then I can work around things)
Many thanks.