I am faced with a nested JSON object that contains an array as one of its properties. Each item in the array is separated by a ';'.
My goal is to use ';' as a delimiter to split each array item and make necessary changes. However, I am having trouble editing the splitted array items.
After making the changes, I need to join them back together as they were originally. The issue lies in splitting the array item based on the delimiter but not being able to edit it.
Here is my JSON object:
{
name:"test1",
xdata:["1;2;3","abhsad"]
}
You can view the code on Plunker: http://plnkr.co/edit/VYTQ6jvJ1bCKosRXh2Nt?p=preview