In Azure deployment pipelines (YAML), I want to perform JSON patching/transforms on an appsettings.json file. (ie the ability to insert/remove sections of a JSON file, not just variable substitution). The only task I can find that even remotely entertains this concept is the task:FileTranform@2
Unfortunately for JSON files, it only performs variable substitution, not transforms. (It does mention it will transform XML)
What options exist then to transform/patch JSON files in the deployment pipeline phase?