Using java, I need to parse a json text file that will contain data according to the layout shown below. The number of email addresses per store will vary. The point is to get a list of stores & corresponding email addresses, then send emails to the addresses. I have a little experience with java but none with json. Can anyone recommend a good way to do this, hopefully with some examples? Thanks!
{
"STORE": [
{"storeName":"<store name>"},
{"emailAddresses": ["<email address1>","<email address2>"]}
],
"STORE": [
{"storeName":"<store name>"},
{"emailAddresses": ["<email address1>","<email address2>","<email address3>"]}
],
"STORE": [
{"storeName":"<store name>"},
{"emailAddresses": ["<email address1>"]}
],
}