pub fn patch_json_config(target: &ConfigTarget) -> Result<PatchResult, CliError>Expand description
Patch a JSON config file: (backup if exists) → parse → merge → write.
For new files: parent directories are created as needed, no backup. For existing files: backup written before any mutation.