Hi I am novice to jolt transformation. I need help with following requirement.
input :
[
{
"firstName": "Fname1",
"lastName": "Lname1",
"state": "PA"
},
{
"firstName": "Fname2",
"lastName": "Lname2",
"state": "VA"
},
{
"firstName": "Fname3",
"lastName": "Lname3",
"state": "CA"
}
]
expected output:
{
"names": [
"Fname1 Lname1",
"Fname2 Lname2",
"Fname3 Lname3"
],
"states": [
"PA",
"VA",
"CA"
]
}
CodePudding user response: