JsonFormat Class

The data stored in JSON format.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.datafactory.models._models_py3.DatasetStorageFormat
JsonFormat

Constructor

JsonFormat(*, additional_properties: Optional[Dict[str, Any]] = None, serializer: Optional[Any] = None, deserializer: Optional[Any] = None, file_pattern: Optional[Any] = None, nesting_separator: Optional[Any] = None, encoding_name: Optional[Any] = None, json_node_reference: Optional[Any] = None, json_path_definition: Optional[Any] = None, **kwargs)

Variables

additional_properties
dict[str, any]

Unmatched properties from the message are deserialized to this collection.

type
str

Required. Type of dataset storage format.Constant filled by server.

serializer
any

Serializer. Type: string (or Expression with resultType string).

deserializer
any

Deserializer. Type: string (or Expression with resultType string).

file_pattern
any

File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive.

nesting_separator
any

The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string).

encoding_name
any

The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType string).

json_node_reference
any

The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string).

json_path_definition
any

The JSONPath definition for each column mapping with a customized column name to extract data from JSON file. For fields under root object, start with "$"; for fields inside the array chosen by jsonNodeReference property, start from the array element. Example: {"Column1": "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType object).