โ11-29-2022 05:53 AM
Hi all,
I have a sample data as below:
โTRANSCU2โ:
โT1โ
โTRANSCU3โ:
โT4โ
โTRANSCU4โ:
โT8โ
โTRANSCU6โ:
โT90Hโ
โTRANSCU7โ:
โT67โ
โTRANSCU8โ:
โT653โ
But i wanted to map all source field to single target path like below:
โCUโ:โT1โ
โCUโ:โT4โ
โCUโ:โT8โ
โCUโ:โT90Hโ
โCUโ:โT67โ
โCUโ:โT653โ
Please suggest.
Solved! Go to Solution.
โ11-29-2022 06:53 AM
Allow duplicate names in a JSON object is generally not recommended as a JSON standard and SnapLogic doesnโt allow it. You could, however, translate the object into an array of values using some simple expression syntax such as the following:
I hope this helps!
โ11-29-2022 06:53 AM
Allow duplicate names in a JSON object is generally not recommended as a JSON standard and SnapLogic doesnโt allow it. You could, however, translate the object into an array of values using some simple expression syntax such as the following:
I hope this helps!
โ11-29-2022 08:59 AM
@koryknick It helped, Thanks. I used json splitter after this and then mapped it to single target path.