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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problem building JSON metadata

Hi there,
I'm trying to build JSON metadata currently, the JSON contains an orders line that I needed to loop on to get each line through, this is fine. The problem I'm having is although the schema limits are all standard (I will update) it only reads the first line of JSON from the file, what have I missed here?

Thanks,

Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi Jim,
Please check the JSONField and XPath you are using 
Reference: http://umashanthan.blogspot.in/2015/11/json-path-expression-for.html
Regards,
Gowthami
Anonymous
Not applicable
Author

Hi,

I had actually seen this already, I've built XML import jobs previously and understand the loop etc, seems strange that the job is only reading one line? I'm only using tFileInputJSON, so no mention of JSON path and building schema with metadata, it's a complex file.

Thanks,
Anonymous
Not applicable
Author

Although I am finding issues with getting data within different loops, the issue with getting the first line was due to badly formatted JSON!