So I have adynamic array of strings like:
["a","b","c,"d"]
or
["x","y","z"]
The array is dynamic and can have variable number of strings.
I want to create a nested json object, in the same position order of the items.
End result would be:
{
"a":{
"b":{
"c":{
"d":{
}
}
}
}
}
or
{
"x":{
"y":{
"z":{
}
}
}
}