ASP JSON: objeto não é uma coleção
Como devo recuperar o PitcherID deste JSON? Estou usando a classe dehttp://aspjson.com.
JSON
[
{
"PitcherID": "456068"
},
{
"PitcherID": "431148"
}
]
Código
oJSON.loadJSON("...")
For Each thing In oJSON.data("PitcherID")
Set this = oJSON.data("PitcherID").item(thing)
response.write this.item("PitcherID")
Next
Erro
Microsoft VBScript runtime error '800a01c3'
Object not a collection