你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DatasetJsonFormat 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
以 JSON 格式存储的数据。
public class DatasetJsonFormat : Azure.ResourceManager.DataFactory.Models.DatasetStorageFormat
type DatasetJsonFormat = class
inherit DatasetStorageFormat
Public Class DatasetJsonFormat
Inherits DatasetStorageFormat
- 继承
构造函数
DatasetJsonFormat() |
初始化 DatasetJsonFormat 的新实例。 |
属性
AdditionalProperties |
附加属性 若要将 对象分配给此属性的值,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)。 若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)。 示例:
|
Deserializer |
反序列化程序。 类型:字符串 (或带有 resultType 字符串) 的表达式。 (继承自 DatasetStorageFormat) |
EncodingName |
首选编码的代码页名称。 如果未提供,则默认值为“utf-8”,除非 BOM) (字节顺序标记表示另一个 Unicode 编码。 可以在以下引用中的编码表的“Name”列中找到支持值的完整列表: https://go.microsoft.com/fwlink/?linkid=861078。 类型:字符串 (或带有 resultType 字符串) 的表达式。 |
FilePattern |
JSON 的文件模式。 更具体地说,是分隔 JSON 对象集合的方式。 默认值为“setOfObjects”。 它区分大小写。 若要将对象分配给此属性,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)。 若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)。 示例:
|
JsonNodeReference |
要平展的 JSON 数组元素的 JSONPath。 示例:“$.ArrayPath”。 类型:字符串 (或带有 resultType 字符串) 的表达式。 |
JsonPathDefinition |
每个列映射的 JSONPath 定义,具有自定义列名称,用于从 JSON 文件中提取数据。 对于根对象下的字段,以“$”开头;对于 jsonNodeReference 属性选择的数组中的字段,请从 array 元素开始。 示例: {“Column1”: “$.Column1Path“, ”Column2“: ”Column2PathInArray“}。 类型:使用 resultType 对象) 的对象 (或 Expression。 若要将对象分配给此属性,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)。 若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)。 示例:
|
NestingSeparator |
用于分隔嵌套级别的字符。 默认值为“.” (点) 。 类型:字符串 (或带有 resultType 字符串) 的表达式。 |
Serializer |
序列化程序。 类型:字符串 (或带有 resultType 字符串) 的表达式。 (继承自 DatasetStorageFormat) |