To use the Azure Synapse Copy Activity to save a JSON file to ADLS Gen2 with a content type of application/json, follow these steps:
- Create a JSON file that you want to save in ADLS Gen2.
- In the Azure Portal, create an Azure Synapse Pipeline that includes a Copy Activity.
- In the settings for the Copy Activity, set the following properties:
- Source: set to the location of the JSON file.
- Destination: set to the ADLS Gen2 location where you want to save the JSON file.
- FileFormat: set to JSON.
- JsonWriteSettings: set to the appropriate JSON settings, including the content type of application/json.
- Save and run the pipeline to copy the JSON file to ADLS Gen2 with the specified content type.