Question
jolt transform ( add array elements to a different existing object )
Hello , can anyone help with a spec to transform this JSON input to the desired output .
JSON INPUT
==========
{
"courseId": "xxx"
}
== desired output json ==
[
{
"courseId": "xxx",
"courseSubCategory": 1
},
{
"courseId": "xxx",
"courseSubCategory": 2
},
{
"courseId": "xxx",
"courseSubCategory": 3
}
]

