-
Notifications
You must be signed in to change notification settings - Fork 3
Nested objects
camous edited this page Aug 1, 2018
·
7 revisions
ACMEMAPPER
supports basic nested/composed objects with limit of 1 level either for source or destination object
All nested scenarios are configured with fromsubproperty
& tosubproperty
property.
input : systemSource
{
"flatproperty" : "hello flat value",
"nestedproperty" : {
"nestedvalue" : "hello nested value"
}
}
configuration
{
"systemSource" : {
"property" : "nestedproperty"
},
"systemDestination" : {
"property" : "flatdestinationproperty",
"fromsubproperty" : "nestedvalue"
}
}
ouput
{
"flatdestinationproperty" : "hello nested value"
}
configuration
{
"systemSource" : {
"property" : "flatproperty"
},
"systemDestination" : {
"property" : "nesteddestinationproperty",
"tosubproperty" : "nestedsubproperty"
}
}
ouput
{
"nesteddestinationproperty" : {
"nestedsubproperty" : "hello flat value"
}
}
configuration
{
"systemSource" : {
"property" : "nestedproperty"
},
"systemDestination" : {
"property" : "nesteddestinationproperty",
"fromsubproperty" : "nestedvalue",
"tosubproperty" : "nestedsubproperty"
}
}
ouput
{
"nesteddestinationproperty" : {
"nestedsubproperty" : "hello nested value"
}
}