1
I have the following object JSON
which is returned after database query:
{
data: {
act: "3 ",
searchType: "2",
searchData: "33014421"
},
convicts: {
count: 2,
rows: [
{
idConvict: 7
},
{
idConvict: 23
}
]
}
}
How to extract only the data from the field idConvict
so that I return a array
[7, 23]
?
post the code of what you’ve tried to do?
– Ricardo Pontual