How take a nested object and flatten it with delimited keys? Other words, are there any C# library similar to "flat" https://www.npmjs.com/package/flat ?
Example:
var obj1 = {
o1p1: "o1p1_Value",
o1p2: "o1p2_Value"
};
var obj2 = {
o2p1: "o2p1_Value",
o2p2: obj1
};
var obj3 = flatten.flatten(obj2);
Here obj3:
{ o2p1: 'o2p1_Value',
'o2p2.o1p1': 'o1p1_Value',
'o2p2.o1p2': 'o1p2_Value' }