Return JSON Paths instead of values

Four Stars

Return JSON Paths instead of values

I'm using the tExtractJSONFields component to pull data from the below example.  I can use the  "$.ItemDescendants.*" JSONPath query to get the values, but is it possible to return the Paths within Talend?  Trying to get values like "17A166-944 P01".

 

Example_Data.PNG

Twelve Stars

Re: Return JSON Paths instead of values

You can not do this direct in Talend

You can extract keys with tJavaRow (using java-json-api) - https://community.talend.com/t5/Design-and-Development/Need-help-using-tExtractJSONFields-to-parse-J...

 

also You can check community component - https://exchange.talend.com/#marketplaceproductoverview:marketplace=marketplace%252F1&p=marketplace%...

 

 

-----------