August 15, 2023

Reading the JSON file – Docs for ESB 6.x

Reading the JSON file

  1. Double-click tFileInputJSON to open its
    Component view.

    use_case-thttprequest_post2.png

  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.

    use_case-thttprequest_post3.png

  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.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x