Getting started Community Training Tutorials Documentation APIs, AI & Tools
host=localhost
port=1234
MIME type: text/x-java-properties
ID: properties
The Text Java Properties format parses any Java properties file. This format represents simple key-value pairs. DataWeave represents these pairs as an object with string values.
This example shows how DataWeave represents a properties file.
The following text/x-java-properties data is from a properties file. The file contains key-value pairs that provide host and port values. This content serves as the input payload to the DataWeave script.
host=localhost
port=1234
DataWeave supports the following configuration properties for this format.
This format accepts properties that provide instructions for writing output data.
| Parameter | Type | Default | Description |
|---|---|---|---|
|
|
|
Size of the buffer writer, in bytes. The value must be greater than |
|
|
|
Generates the output as a data stream when set to Valid values are |
|
|
|
The encoding to use for the output, such as UTF-8. |