I am trying to get the status
of de.zip-code
but get a error Cannot read property 'status' of undefined
. In my js file I have this
$.getJSON("link", function(json) { let creditcheck = json.de_zip_code.status;
and more.
{
de.zip-code: {
status: "RED",
link: "link",
text: "text"
},
glasvezel-availability: {
status: "RED",
link: "link",
text: "text"
}
}