How to convert JSON http response array to simple array

I have an api. So when I make post request to the server it responds me with json.


See blocks array? I want to convert blocks array to array of block objects in typescript.

Now I have this post request.

So how to convert ‘blocks’ to simple array?

Please post code as text, not images. Do not create needless Promises. You do not explain what a “block object” is.