Closed coda-apps closed 7 years ago
Hi.
You are dealing with nested objects. In this case you don't need arrays at all.
Try getting the nested object value directly:
jsonObj.parse jsonString
Response.Write jsonObj("message")("name")
Or, if you will need to access more properties from this object, it's best to set it to a variable:
jsonObj.parse jsonString
set message = jsonObj("message")
Response.Write message("name") & ": " & message("value")
I hope this helps.
Ok, got it - thanks!
Hi!
Thanks for maintaining this!
I am having an issue getting to a certain parameter (the "name" parameter, below)
i assume i need to convert to an array, but it just not working for me:
this is the error:
and this is my code: