cycle value with tExtractJsonFields

Highlighted
Six Stars

cycle value with tExtractJsonFields

Hi everyone, I have a problem with tExtractJsonFields ... Basically I can't extract the list of dento fields "SerieDati".
I have an input from tHTTPRequest which takes a json from the web (as an attachment). But then I can't cycle the values contained in "SerieDati".
Can anyone help me?
Thank you


Accepted Solutions
Six Stars

Re: cycle value with tExtractJsonFields

In the "loop jsonpath query" put

"$.properties.SerieDati[*]"

and for the json query just put

"TipoValore"

 

The most important part you were missing was the square brackets

View solution in original post


All Replies
Six Stars

Re: cycle value with tExtractJsonFields

In the "loop jsonpath query" put

"$.properties.SerieDati[*]"

and for the json query just put

"TipoValore"

 

The most important part you were missing was the square brackets

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog