0
Well my situation is as follows, I have a variable that brings me the following results:
var1 = [{"id_item":2,"posicao":1},{"id_item":8,"posicao":2},{"id_item":9,"posicao":3},{"id_item":7,"posicao":4},{"id_item":10,"posicao":5}]
I need to handle this result separately, for example
r1 = id_item
r2 = posicao
how I could get the results of this array separately in the classic Asp,
tried to make a:
teste = JSON.parse(var1)
to try to catch the result this way teste.id_item
more when I give a Replay.write nothing appears.
When I run a Answer.write on the variable test result I am always that.
[object Object],[object Object],[object Object],[object Object],[object Object]
what would be the most correct solution to this problem?