JSON Path Expression for tExtractJSONFields and tFileInputJSON Talend components

JSON Path Expression for tExtractJSONFields and tFileInputJSON Talend components

In this blog, I am going to discuss about the JSON filed extract components of TOS. There are 2 components available in Talend Open Studio, to extract the data from JSON format.

tFileInputJSON (only for JOSN File)

tFileInputJSON extracts JSON data from a file according to the JSON Path query, then transferring the data to a file, a database table, etc.

tExtractJSONFields (a file, a database table, etc)

tExtractJSONFields extracts the data from JSON fields stored in a file, a database table, etc., based on the XPath query.

The following example shows that how to use this components, mainly define the JSON Path.

In this example, the JSON file is as follows:

tFileInputJSON – Extracting JSON data from a file

 

Leave a Reply