can someone help with jolt spec .
input :
{ "data": [ { "key": "A,B,C,D,S" } ] }
I want output like :
{
"id":"A"
},
{
"id":"B"
},
{
"id":"C"
},
{
"id":"D"
},
{
"id":"S"
}
The key can be of n numbers of commaSeperated value . and I need n number of objects
Thanks in Advance .