I am getting the below val as a string from DB
I want to add this values to a list
contactname,and contactmobile as one object we need to insert in list.
input:
{"contactName":"Girish Prabhu","contactMobile":"9952670691"},{"contactName":"Gopal Prasad","contactMobile":"9123560000"}
Expected output:
groupContacts:
[
{
"contactName": "Girish Prabhu",
"contactMobile": "9952670691"
},{
"contactName": "Gopal Prasad",
"contactMobile": "9123560000"
}
]