in src/connectors/json-input-connector.ts [11:19]
public readInput(callback: any): void {
if (this.config.data) {
callback(null, this.config.data);
} else if (this.config.filePath) {
fs.readJSON(this.config.filePath, { encoding: 'utf-8' }, callback);
} else {
callback(new Error('JSON filePath not provided in config'));
}
}