In Yii2, is it possible to use a .env file as JSON for an Azure Pipeline configuration?
In Yii2, is it possible to use a .env file as JSON for an Azure Pipeline configuration?
Yes, you can put JSON as a string in a Yii2 .env file and decode it in PHP using json_decode().
For Azure Pipelines, either read it from .env or pass it as a pipeline variable and decode it the same way.