I have a JSON object with an array inside (“logins”), that I would like to either convert to a data table, or just iterate over each element in the array. I have deserialized it into a JSON object, but I’m not sure how to extract each field from each row…
{
"logins": [
{
"id": 2,
"username": "test",
"password": "test123",
"enabled": true
},
{
"id": 3,
"username": "test2",
"password": "test123",
"enabled": true
},
{
"id": 4,
"username": "test3",
"password": "test123",
"enabled": true
}
]
}