Unflatten a flat object.
Actual object with all it's nested structured reconstructed from the flattened properties.
unflatten({ a: 1, "b.0": 0, "b.1": 1, "c.c1": 1, "c.c2": 2,});// {// a: 1,// b: [0, 1],// c: {c1: 1, c2: 2}// }
Any plain object with properties representing one leaf value of the actual object.
Generated using TypeDoc
Unflatten a flat object.
Returns
Actual object with all it's nested structured reconstructed from the flattened properties.
Example