Hi @Anonymous , thanks but how I can apply this solution with a JSON with multiple childs?
For example I have this JSON:
{
"1": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
"Acronym": "SGML",
"Abbrev": "ISO 8879:1986"
},
"2": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
"Acronym": "SGML",
"Abbrev": "ISO 8879:1986"
}
"3": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
"Acronym": "SGML",
"Abbrev": "ISO 8879:1986"
}
}
and I want, for each child "1", "2", "3", create another item based on the concatenation of "ID" and "Abbrev". With the "select" connector in the service, I can do something like this:
json(
concat(
'["',
item()?['ID'],
'","',
item()?['Abbrev'],
'","',
concat(item()?['ID'],item()?['Abbrev'])+'"',
']'
)
)
So create an array with square brakets, and insert a custom item (in this case is the concatenation of two other items).
Thanks