JSON to Bean
JSON to Bean deserializes mapped JSON into an instance of a class from a
Java Library. It is the inverse of
Bean to JSON.
The activity has three tabs: Configuration, Input, and Output.
Configuration
| Field | Required | Description |
|---|
| Name | Required | Name of the activity step. |
| Description | Optional | Description of the activity step. |
| Library | Required | Select the user library and version, then choose a class or method when needed. |
| Bean Name | Optional | Name to store the created bean under. |
| Scope | Optional | Where to store the named bean. Defaults to Process. |
Scope
| Option | Lifetime |
|---|
| Process | The bean lives for the duration of the workflow run. This is the default. |
| Application | The bean is shared across the application. |
| Engine | The bean is shared across the engine. |
| Field | Required | Description |
|---|
| Inputs | Optional | The JSON to convert. |
Output
| Field | Required | Description |
|---|
| Output | Optional | The created bean. |