Closed Dhanrajkannan closed 2 years ago
Can someone help with Jolt spec for below requirement. I tried recursivelySquashNulls , but it didn't help. Thanks in advance! Input: { "individuals": [ { "individual": { "LastName": "Ind1-LastName", "firstName": "Ind1-FirstName" } }, { "individual": {} } ] } Expected output: { "individuals": [ { "individual": { "LastName": "Ind1-LastName", "firstName": "Ind1-FirstName" } } ] }
It's been answered here - https://stackoverflow.com/questions/73148281/jolt-tranform-remove-empty-node-in-the-json-array/73148674#73148674
Hence closing the issue.
Can someone help with Jolt spec for below requirement. I tried recursivelySquashNulls , but it didn't help. Thanks in advance! Input: { "individuals": [ { "individual": { "LastName": "Ind1-LastName", "firstName": "Ind1-FirstName" } }, { "individual": {} } ] } Expected output: { "individuals": [ { "individual": { "LastName": "Ind1-LastName", "firstName": "Ind1-FirstName" } } ] }