public boolean init(StepMetaInterface smi, StepDataInterface sdi) { meta = (JsonInputMeta) smi; data = (JsonInputData) sdi; if (super.init(smi, sdi)) { data.rownr = 1L; data.nrInputFields = meta.getInputFields().length; // Take care of variable substitution for (int i = 0; i < data.nrInputFields; i++) { JsonInputField field = meta.getInputFields()[i]; field.setPath(environmentSubstitute(field.getPath())); } try { // Init a new JSON reader data.jsonReader = new JsonReader(); data.jsonReader.SetIgnoreMissingPath(meta.isIgnoreMissingPath()); } catch (KettleException e) { logError(e.getMessage()); return false; } return true; } return false; }