We are using Symfony 4.4 and before doing next major updateswe want to switch from deprecated Doctrine\DBAL\Types\ObjectTypeto dunglas/doctrine-json-odm.
I am now looking for an easy way to convert all the existing 190K object values into the new json format.
The ugly idea is to create a temp method, looping over all the entities, getting the object value and write it into the json value.
Is there an better solution? Maybe directly in the migration file?