I have the following JSON
[{
"rowId": "03 EUR10580000"
}, {
"rowId": "03 EUR10900001"
}, {
"rowId": "03 EUR1053RUD*"
}, {
"rowId": "033331"
}]
and I would like to convert it to a List of String with only the values of the rowId, so in this case like
"03 EUR10580000"
"03 EUR10900001"
"03 EUR1053RUD*"
"033331"
I did it with Gson fromJson but in return I get a List of LinkedTreeMap and when I do a loop in fails. I would like instead a simple List of String.