Show / Hide Table of Contents

Class JsonDataset

Json dataset.

Inheritance
System.Object
Dataset
JsonDataset
Inherited Members
Dataset.AdditionalProperties
Dataset.Annotations
Dataset.Description
Dataset.Folder
Dataset.LinkedServiceName
Dataset.Parameters
Dataset.Schema
Dataset.Structure
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Analytics.Synapse.Artifacts.dll
Syntax
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.JsonDataset/JsonDatasetConverter))]
public class JsonDataset : Azure.Analytics.Synapse.Artifacts.Models.Dataset

Constructors

JsonDataset(LinkedServiceReference)

Initializes a new instance of JsonDataset.

Declaration
public JsonDataset (Azure.Analytics.Synapse.Artifacts.Models.LinkedServiceReference linkedServiceName);
Parameters
LinkedServiceReference linkedServiceName

Linked service reference.

Exceptions
System.ArgumentNullException

linkedServiceName is null.

Properties

Compression

The data compression method used for the json dataset.

Declaration
public Azure.Analytics.Synapse.Artifacts.Models.DatasetCompression Compression { get; set; }
Property Value
DatasetCompression

EncodingName

The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string).

Declaration
public object EncodingName { get; set; }
Property Value
System.Object

Location

The location of the json data storage. Please note DatasetLocation is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AmazonS3Location, AzureBlobFSLocation, AzureBlobStorageLocation, AzureDataLakeStoreLocation, AzureFileStorageLocation, FileServerLocation, FtpServerLocation, GoogleCloudStorageLocation, HdfsLocation, HttpServerLocation, LakeHouseLocation and SftpLocation.

Declaration
public Azure.Analytics.Synapse.Artifacts.Models.DatasetLocation Location { get; set; }
Property Value
DatasetLocation

Back to top Azure SDK for .NET