Need JOLT spec for JSON input and output.PFB the data for same.
Output:
{"buyerInfo": {
"id": "as123-e617-4410-969f",
"primaryContact": {
"name": {
"firstName": "Karan",
"lastName": "Singh"
},
"phone": {
"completeNumber": "9021675435"
},
"email": {
"emailAddress": "[email protected]"
}
}
}
}
Input:
{"customer": {
"contact": {
"name": {
"firstName": "Karan",
"lastName": "Singh",
"middleName": null
},
"phone": "902-167-5435",
"secondaryPhone": null,
"email": "[email protected]"
}
}
}
Please help me out on providing the JOLT spec for same. Also please share JOLT links.