When I run this code/try to decode this
var data = JSON.parse({"forms":[{"url":"example.com/example","name":"example"}]})
document.getElementById("name").innerHTML=data.forms.name
the value returned undefined.
So what is the proper way to decode it using web javascript?
data.formscontains an array, not an object.