Hi All
Being a newbie to JSON i have the following question:
Is it possible to get this result:(Zie attachment)
With this input where values from another parth of the path are used when the current data are nor available:
{
“Company”: “XYZ”,
“HeadOffice”: “Amsterdam”,
“Address”: {
“Street”: “KingsRoad 12”,
“Zipcode”: “1234 AA”,
“City”: “Amsterdam”
},
“Contact”: [
{
“Name”: “Jan Janssen”,
“Type”: “First”
},
{
“Name”: “Sandra Peters”,
“Type”: “Second”
}
],
“Branches”: [
{
“Region”: “South”,
“Contact”: [
{
“Name”: “John Doe”,
“Type”: “Second”
}
]
},
{
“Region”: “North”,
“Contact”:
}
]
}
I hope my question is clear.
Thanks in advance
Huub Keulartz