I have a string set of -
"uid:ID1,name:Name1,uid:ID2,name:Name2"
I want to map "uid:ID1,name:Name1" into
The following format
{
uid :'ID1',
name: "Name1"
}
But for it to make as many property sets as are passed in via the string set.
So for the input string with "2 sets" I need it to make this following output.
{
uid :'ID1',
name: "Name1"
},
{
uid :'ID2',
name: "Name2"
}
What can I try?