Reading the JSON file - 7.0

HTTP

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Internet components (Integration) > HTTP components
Data Quality and Preparation > Third-party systems > Internet components (Integration) > HTTP components
Design and Development > Third-party systems > Internet components (Integration) > HTTP components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click tFileInputJSON to open its Component view.
  2. Select JsonPath without loop from the Read By drop-down list.
  3. Click the [...] button next to Edit schema to open the schema editor.
  4. Click the [+] button to add one row and name it, for example, to data.
  5. Click OK to validate these changes and accept the propagation prompted by the pop-up dialog box.
  6. In the Filename field, browse, or enter the path to the source JSON file in which the parameter to be sent is stored.
  7. In the Mapping table, the data column you defined in the previous step in the component schema has been automatically added. In the JSONPath query column of this table, enter the JSON path, in double quotation marks, to extract the parameter to be sent. In this scenario, the path is echo[0].data.