Member since
09-20-2025
1
Post
0
Kudos Received
0
Solutions
09-20-2025
06:15 AM
Experts, Provide me jolt transform for my json input shown below Input json would be like below. This is just one record. Actually there can be multiple records { "Product": "4039", "Plant": "1010", "MRPArea": "", "PlndIndepRqmtType": "VSE", "PlndIndepRqmtVersion": "00", "RequirementPlan": "", "RequirementSegment": "", "PlndIndepRqmtIsActive": "X", "PlndIndepRqmtPeriod": "20250502", "NoWithdrawal": "", "DeleteOld": "", "PeriodType": "2", "PlannedQuantity": "20.000", "UnitOfMeasure": "PC", "ProductionVersion": "" } Output what i am expecting as below { "Product": "4039", "Plant": "1010", "MRPArea": "", "PlndIndepRqmtType": "VSE", "PlndIndepRqmtVersion": "00", "RequirementPlan": "", "RequirementSegment": "", "PlndIndepRqmtIsActive": "X", "PlndIndepRqmtPeriod": "20250502", "NoWithdrawal": "", "DeleteOld": "", "to_PlndIndepRqmtItem": [ { "Product": "4039", "Plant": "1010", "MRPArea": "", "PlndIndepRqmtType": "VSE", "PlndIndepRqmtVersion": "00", "RequirementPlan": "", "RequirementSegment": "", "PlndIndepRqmtPeriod": "20250502", "PeriodType": "2", "PlannedQuantity": "20.000", "UnitOfMeasure": "PC", "ProductionVersion": "" } ] } "to_PlndIndepRqmtItem" array has some duplicate fileds from header.
... View more
Labels:
- Labels:
-
Apache NiFi