cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Modify data structure

swatifunde
Contributor

Hello Community,

Currently we have data like this :
{
โ€œIDโ€:
โ€œProjectNumberโ€:
โ€œProjectAllocationโ€:
โ€œClassโ€:
โ€œClassPlaceโ€:
}

The desired output is like this:
{
โ€œIDโ€:0,
โ€œProjectNumberโ€:{
โ€œProjectNumberIDโ€:โ€œstringโ€,
โ€œProjectAllocationโ€:{
โ€œProjectAllocationIDโ€:โ€œstringโ€
}
},
โ€œClassโ€:{
โ€œClassIDโ€:โ€œstringโ€,
โ€œClassPlaceโ€:{
โ€œClassPlaceIDโ€:โ€œstringโ€
}
โ€œPlaceโ€:{
โ€œPlaceIDโ€:0,
โ€œPlaceNameโ€:โ€œstringโ€
}
}
}

Is there any way we could use to achieve this in SnapLogic ?

1 REPLY 1

viktor_n
Contributor II

Hi @swatifunde,

Do you look for something like this?

From this:
image

To this:
image

Community_2022_12_30.slp (4.0 KB)

Regards,
Viktor