Read JSON
Read JSON Objects ..
Workshop - Read JSON
Steel Wheels have several JSON data sources. You will create a simple workflow to extract the required reporting dataset.
In this workshop, you will configure the following step:
JSON Input

View the jsonfile.js
{% hint style="warning" %} Notice that the delivery status can be Delivered | Returned {% endhint %}
{% tabs %} {% tab title="1. JSON Input" %} {% hint style="info" %}
JSON Input
The JSON Input step extracts relevant portions out of JSON structures, files or incoming fields, and outputs rows. {% endhint %}
Start Pentaho Data Integration.
{% hint style="info" %}
Windows - Powershell
{% endhint %}
{% hint style="info" %}
Linux
Drag the ‘JSON Input’ step onto the canvas.
Double-click on the step, and configure the following properties:

Click on the ‘Fields’ tab and configure the following properties:

Close the Step.
➡️ Next: Dummy
To add the Dummy step, expand the ‘Flow’ category in the Design tab, and drag the Dummy step onto the canvas.
Draw a Hop from the JSON Input to Dummy step.
➡️ Next: Finally RUN the Transformation
Click the Run button in the Canvas Toolbar.
Preview the data.

Last updated
Was this helpful?
