Read JSON
Read JSON objects.
17KB

Open
jsonfile.jsin an editor. You will extract fields from this array:
JSON Input
JSON Input reads JSON and outputs rows.
You set one loop path. It outputs one row per loop element.
Start Pentaho Data Integration.
Drag JSON Input onto the canvas.
Open the step.
On the File tab, select your
jsonfile.js.
Example:
Set Loop path to:
Open the Fields tab.
Select Get Fields.
Verify these field paths and types:
productline(String)customer(String)status(String)date(String)value(Number)


Troubleshooting
Last updated
Was this helpful?

