If you want to update a
blocks field programmatically, e.g. with data from a frontend form, you can do it with the following code:
The fields in the content array depend on the block type.
If you want to store human readable JSON, set the
pretty option in your blueprint: