One Star

TJsonExtract

Hi,

I'm trying to extract all the fields from this Json coming from an API but I'm not able to find the right configuration for the component tjsonextract

 

After different attempt I'm trying with

Readby: JsonPath

Loop Query: "$"

JsonQuery: "Title" (as example for the first field)

 

The component is running but I have no results, below the Json result 

 

{"Title":"Avatar","Year":"2009","Rated":"PG-13","Released":"18 Dec 2009","Runtime":"162 min","Genre":"Action, Adventure, Fantasy","Director":"James Cameron","Writer":"James Cameron","Actors":"Sam Worthington, Zoe Saldana, Sigourney Weaver, Stephen Lang","Plot":"A paraplegic marine dispatched to the moon Pandora on a unique mission becomes torn between following his orders and protecting the world he feels is his home.","Language":"English, Spanish","Country":"UK, USA","Awards":"Won 3 Oscars. Another 86 wins & 128 nominations.","Poster":"https://images-na.ssl-images-amazon.com/images/M/MV5BMTYwOTEwNjAzMl5BMl5BanBnXkFtZTcwODc5MTUwMw@@._V1_SX300.jpg","Ratings":[{"Source":"Internet Movie Database","Value":"7.8/10"},{"Source":"Rotten Tomatoes","Value":"83%"},{"Source":"Metacritic","Value":"83/100"}],"Metascore":"83","imdbRating":"7.8","imdbVotes":"939,525","imdbID":"tt0499549","Type":"movie","DVD":"22 Apr 2010","BoxOffice":"$749,700,000","Production":"20th Century Fox","Website":"http://www.avatarmovie.com/","Response":"True"}

Thanks in advance

 

Bruno

  • Data Integration
Tags (2)
1 REPLY
Five Stars

Re: TJsonExtract

Could you try rExtractJSONFields component?

 

In the loop jsonpath query, you can try "$.Title"