JSON to Dataset Activity
The JSON to Dataset activity enables the transfer of data defined in JSON format into a structured dataset. This activity processes a provided JSON string and creates a new dataset with the specified reference name, making the data accessible for subsequent operations.
| Field | Description | Requirement |
|---|---|---|
| JSON string | Specifies the JSON formatted string structure to be processed. | Required |
| Output Dataset | Provides the reference name for the dataset created by this activity. | Required |
Action Types & Examples
JSON String
- Format: string
- Example Result:
[{ "id": 1 }]
Output Dataset Name
- Format: string
- Example Result:
readDS
Implementation Examples
Field Setup - JSON string: [{ "id": 1 }] - Output Dataset: readDS
Execution Parameters - JSON string: { "id": 1, "firstname": "Katerina", "job": { "site": "www.javacodegeeks.com", "name": "Java Code Geeks" } } - Output Dataset: readDS
Technical Notes
This activity is designed to parse valid JSON strings and convert them into a structured dataset within the automation environment. Ensure the input
JSON stringadheres to a correct JSON format to prevent execution errors. The resultingOutput Datasetcan then be utilized by subsequent activities that require structured data.