public final class JsonFormat extends DatasetStorageFormat
| Constructor and Description |
|---|
JsonFormat() |
| Modifier and Type | Method and Description |
|---|---|
Object |
encodingName()
Get the encodingName property: The code page name of the preferred encoding.
|
Object |
filePattern()
Get the filePattern property: File pattern of JSON.
|
Object |
jsonNodeReference()
Get the jsonNodeReference property: The JSONPath of the JSON array element to be flattened.
|
Object |
jsonPathDefinition()
Get the jsonPathDefinition property: The JSONPath definition for each column mapping with a customized column
name to extract data from JSON file.
|
Object |
nestingSeparator()
Get the nestingSeparator property: The character used to separate nesting levels.
|
void |
validate()
Validates the instance.
|
JsonFormat |
withDeserializer(Object deserializer)
Set the deserializer property: Deserializer.
|
JsonFormat |
withEncodingName(Object encodingName)
Set the encodingName property: The code page name of the preferred encoding.
|
JsonFormat |
withFilePattern(Object filePattern)
Set the filePattern property: File pattern of JSON.
|
JsonFormat |
withJsonNodeReference(Object jsonNodeReference)
Set the jsonNodeReference property: The JSONPath of the JSON array element to be flattened.
|
JsonFormat |
withJsonPathDefinition(Object jsonPathDefinition)
Set the jsonPathDefinition property: The JSONPath definition for each column mapping with a customized column
name to extract data from JSON file.
|
JsonFormat |
withNestingSeparator(Object nestingSeparator)
Set the nestingSeparator property: The character used to separate nesting levels.
|
JsonFormat |
withSerializer(Object serializer)
Set the serializer property: Serializer.
|
additionalProperties, deserializer, serializer, withAdditionalPropertiespublic Object filePattern()
public JsonFormat withFilePattern(Object filePattern)
filePattern - the filePattern value to set.public Object nestingSeparator()
public JsonFormat withNestingSeparator(Object nestingSeparator)
nestingSeparator - the nestingSeparator value to set.public Object encodingName()
public JsonFormat withEncodingName(Object encodingName)
encodingName - the encodingName value to set.public Object jsonNodeReference()
public JsonFormat withJsonNodeReference(Object jsonNodeReference)
jsonNodeReference - the jsonNodeReference value to set.public Object jsonPathDefinition()
public JsonFormat withJsonPathDefinition(Object jsonPathDefinition)
jsonPathDefinition - the jsonPathDefinition value to set.public JsonFormat withSerializer(Object serializer)
withSerializer in class DatasetStorageFormatserializer - the serializer value to set.public JsonFormat withDeserializer(Object deserializer)
withDeserializer in class DatasetStorageFormatdeserializer - the deserializer value to set.public void validate()
validate in class DatasetStorageFormatIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.