Exactly, thank you for reading the article in depth.
There are many cases where you have a post and need the data of the blocks and all I found use these functions or their predecessors.
https://gist.github.com/jenssogaard/54a1927ecf51c3238bd3eff1dac73114