type DataFormat = { binaryFormat?: Boolean, defaultCharset?: String, fileExtensions?: Array<String>, acceptedMimeTypes: Array<MimeType>, reader: (content: Binary, charset: String, settings: ReaderSettings) -> Any, writer: (value: Any, settings: WriterSettings) -> Binary }
DataFormat Types (dw::extension::DataFormat)
Type | Definition | Description |
---|---|---|
DataFormat |
Represents the
Introduced in DataWeave version 2.2.0. |
|
EmptySettings |
|
Represents a configuration with no settings. Introduced in DataWeave version 2.2.0. |
EncodingSettings |
|
Represents encoding settings and contains the following field:
Introduced in DataWeave version 2.2.0. |
MimeType |
|
Represents a MIME type, such as Introduced in DataWeave version 2.2.0. |
Settings |
|
Reader or writer configuration settings. Introduced in DataWeave version 2.2.0. |