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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tExtractJSON convert row formatting Issue

 

Hi,

Below  is the sample format of the JSON input from Kafka,we have 100+ columns are there and want to convert to a row.
Have used tExtracJsonfield transformation using JSON path, am getting below is the actual output

 

Input from Kafka :
{
 "ACTION":{"string":"U"},
 "RESTART":{"string":"1AX7GpFUZwAAAAAAAAX7GpFUVQAAAAcAAGGxAB39GgDoAAEAAAAAAAEAAAAA"},
 "FLG":{"string":"Y"}
}

Actual Result:
"string":"U" | "string":"1AX7GpFUZwAAAAAAAAX7GpFUVQAAAAcAAGGxAB39GgDoAAEAAAAAAAEAAAAA" | "string":"Y"

Expected Result:
U | 1AX7GpFUZwAAAAAAAAX7GpFUVQAAAAcAAGGxAB39GgDoAAEAAAAAAAEAAAAA | Y
 
How to  escape the data type and Double quote value in the tExtractjson field transformation? Please advise.

 

Thanks,

 

Regards,

Srini

 

 

Labels (5)
1 Reply
Anonymous
Not applicable
Author

Hi,

 

Could you please advise for above scenario?

 

Thanks,

 

Regards,

Srini