SL12345
3 years agoNew Contributor III
Create hierarchical Json from mapper output
Hello Snaplogic experts,
is it possible from input
[
{
"Manufacturer":
"BMW"
"type":
"M3"
"Fuel":
"petrol"
}
{
"Manufacturer":
"BMW"
"type":
"M5"
"Fuel":
"petrol"
}
{
"Manufacturer":
"Mercedel"
...
- 12 months ago
Hello lake,
Attached is the sample pipeline for structuring the data as needed:
- Split the ndc array.
- Sort and group by num, lotNum, and expDate.
- Consolidate serialNumber.
- Reassemble the ndc array.
Let me know if you have any questions.
Best regards,
Aleksandar.