I'm struggling with this JSON data:
const info = [{
"ID":1,"Name":"Test",
"subitem": [
{"idenID":1,"Code":"254630"},
{"idenID":2,"Code":"4566"},
{"idenID":3,"Code":"4566"}
]
}];
console.log(JSON.parse(info)); //Uncaught SyntaxError: Unexpected token o
Does anyone know how to properly de-serialize the 'info' variable into a JavaScript object?