Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Parikhharshal
Creator III
Creator III

tExtractjasonFields

Hi there

 

I am trying to extract json format data from tRestClient and it looks like this.

 

{"id":3404,"page_views":0,"max_page_views":14,"page_views_level":0,"participations":0,"max_participations":0,"participations_level":0,"tardiness_breakdown":{"missing":0,"late":3,"on_time":0,"floating":1,"total":4}}

 

I have configured tExtractjasonFields like below:

 

0683p000009M0q6.png

 

But it keeps showing me null in the result. I have designed my job like this:

 

0683p000009M0qA.png

 

Not sure if I am configuring ExtractJasonFields component wrong. Can you please advise what is the correct way of doing?

 

Thanks

Harshal.

 

Labels (5)
1 Solution

Accepted Solutions
Parikhharshal
Creator III
Creator III
Author

Hi there

 

I mentioned it as String in Json Field and it worked. Thanks.

 

View solution in original post

3 Replies
root
Creator II
Creator II

At least the screenshot you provided does not contain any field mapping of elements you want to extract. Please add mappings of them based on the jsonpath and you shall be all set.
Parikhharshal
Creator III
Creator III
Author

@mbocquet: I completed my mapping for all other fields by selecting jsonpath but still not getting result.

 

0683p000009M0qU.png0683p000009M0qZ.png 

 

Please see the screenshot above wherein I have got mapping and schema for textractjson fields.

Parikhharshal
Creator III
Creator III
Author

Hi there

 

I mentioned it as String in Json Field and it worked. Thanks.