跳转至

Extract rows from a JSON file(从 JSON 文件中提取行(Extract rows from a JSON file))

Supported in: Batch

Reads a dataset of files and parses each JSON file into rows.

Transform categories: File, String, Struct

Declared arguments

  • Allow JSON values to span multiple lines: If off, a single JSON record must be entirely on one line. If on, a single JSON record may span multiple lines.
    Literal\
  • Dataset: Dataset of files to process.
    Files
  • Schema: Schema definition used when parsing the JSON files.
    Type\

中文翻译


从 JSON 文件中提取行(Extract rows from a JSON file)

支持模式:批处理(Batch)

读取文件数据集并将每个 JSON 文件解析为行。

转换类别:文件(File)、字符串(String)、结构体(Struct)

声明的参数(Declared arguments)

  • 允许 JSON 值跨越多行(Allow JSON values to span multiple lines): 若关闭,单个 JSON 记录必须完全位于一行内;若开启,单个 JSON 记录可跨越多行。
    字面量\<布尔值>(Literal\
  • 数据集(Dataset): 待处理的文件数据集。
    文件(Files)
  • 模式(Schema): 解析 JSON 文件时使用的模式定义。
    类型\<结构体>(Type\