i have to get value in this json array
{"certificates":[
{"alias":"CSTQUE","hsm":"HSM2","cf":"XXXXX","email":"[email protected]","cell":"+12345678"},
{"alias":"AXO","hsm":"HSM2","cf":"XXXXX","email":"[email protected]","cell":"+12345678"}]}
How can I get all of these variable with same name in Java? Can I iterate them or can I do getString("alias") and get both values?