Forum Discussion

swatifunde's avatar
swatifunde
Contributor
3 years ago

Modify data structure

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 ?