How to store json data into DB as new rows

My input will be emailaddress in eachline  on the UI

"values": [
{
"id": "d7971ace-7ca5-ec11-8132-0050569773df",
"emailAddress": "testing.test@test.com"
},
{
"id": "50363345-b494-ec11-8131-0050569773df",
"emailAddress": "test2.test@test.com"
}
]

This will be the response of my integration. 

when the response is 200 then I want to store the entered emailaddresses in new table as seperate rows and the IDs from response should get mapped to those emailaddress in DB .


How can I achieve it 

  Discussion posts and replies are publicly visible