Hierarchy

  • ExpandFileDefinition
    • ExportFieldDefinition

Properties

expandArray?: boolean

When true expands an array value in the datapack to individual files.

fileName?: string | string[]

When set the data in the field is exported into a separate file with the specified name. The name can be a string which is evaluated as a template to include values from the datapack:

fileName: "data_{Name}.json"

If no extension is provided the extension is inferred from the field type:

  • json: .json
  • binary: .bin
processor?: string

Processor function snippet to use for processing the field data before exporting.