src/vs/workbench/services/configuration/common/jsonEditingService.ts/JSONEditingService/doWriteConfiguration
class JSONEditingService:	private async doWriteConfiguration(resource: URI, values: IJSONValue[], save: boolean): Promise<void> {
		const reference = await this.resolveAndValidate(resource, save);
		try {
			await this.writeToBuffer(reference.object.textEditorModel, values, save);
		} finally {
			reference.dispose();
		}
	}