I have the following structure of array:
[{Id: Number, Attributes: {Name: String, Age: String, Height: String}}]
And I want to convert it into the:
[{Id: Number, Name: String, Age: Number, Height: Number}]
Also how to convert "2018-12-12 09:19:40"
to an Date object? While converting the entire array.
How to do this? Using lodash or not.