Having this problem solved in JavaScript, I'm trying to do the same using C# for a C# object, not a JSON.
Basically, the JS solving looks like this:
myObject.myObject.forEach(arr => {
arr.prop = arr.parameters.reduce((res,obj)=> res+obj.special, '')
})
so I tried to do it like:
foreach (array arr in myObject.myObject)
{
arr.prop = arr.parameters.reduce();
}
I didn't find any function like the JS reduce in C#.
Do you have any suggestions how to solve this?