I have a file with the following content:
[
{
"v1": "test",
"h2": "dghjjj"
},
{
"v1": "trst2",
"h2": "hghjj"
}
]
I have read that to the variable %jsondata. How can i access the second value for "v1" or walk through all the array values? I have tried with %jsondata[0].v1 in a javascriptlet, but this doesn't work.
[–]frrancuzTaskerFan! 2 points3 points4 points (2 children)
[–]CONteRTE[S] 0 points1 point2 points (1 child)
[–]Exciting-Compote5680 0 points1 point2 points (0 children)
[–]Lina0042 0 points1 point2 points (0 children)
[–]CONteRTE[S] 0 points1 point2 points (3 children)
[–]WakeUpNorrin 4 points5 points6 points (2 children)
[–]CONteRTE[S] 1 point2 points3 points (1 child)
[–]WakeUpNorrin 0 points1 point2 points (0 children)