I am trying to load json data from the following link http://swapi.co/api/films/ into pentaho.
I used 3 steps Generate Rows, HTTP Client and Json Input
Generate Rows Step :
Limit: 1
Name: movies
Type: string
Value:http://swapi.co/api/films/?format=json
HTTP Client Step:
General Tab
Accept URL from field? Yes
URL field name: movies
Result fieldname: json
fields Tab
Name: movies
Parameters: movies
Json Input Step:
(Fields Tab)
(would like to get all the fields in the "results" array eg. title,episode, director.....)
Name: title
Path: $.results[0]
Type: String
(fields Tab)
Name: movies
Parameters: movies
I get this error:
2016/02/24 12:05:00 - Json Input.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.jsoninput.JsonReader.readString(JsonReader.java:127)
2016/02/24 12:05:00 - Json Input.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ... 7 more
2016/02/24 12:05:00 - Json Input.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)