Forum Discussion
darshthakkar
3 years agoValued Contributor
@rsramkoski - can we add one more layer to this JSON structure? If yes, how could we do that?
I tried using Group By N with Group Size = 1
however I’m not getting the desired output.
Screenshot after using Group By N:
Desired Output:
Need to add one more layer so that the JSON output becomes nested.
Thanking in advance for your help.
Regards,
Darsh
Abhishek_Soni37
3 years agoContributor
Hi @darshthakkar,
Based on the screenshot provided, I created a dummy JSON and used extend expression in Mapper to add an extra layer.
Input JSON:
Mapper Expression:
Final Result:
Pipeline:
Test_Expression_2023_06_18.slp (3.5 KB)
I hope this helps.
Cheers 🙂
- Senthilnaga913 years agoNew Contributor III
Can you pls share your pipeline design to have more clarity ?
Related Content
- 10 days ago
- 8 years ago