Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
WWong1683187644
Contributor III
Contributor III

TNormalize with comma delimiter issue

Hi,

I am trying to normalize the json string by using comma separator, but i am facing an issue, the data itself contains the comma too, so the outcome become error

###

this is input:

parameter_|parameter_secret|"username": "mmK1A", "password": "75%mM,gh", "port": 5439|true

###

the text i want to normalize is this part:

"username": "mmK1A", "password": "75%mM,gh", "port": 5439

###

Does anyone know how to solve this problem? or is there other component equivalent to TNormalize? or maybe can solved with custom java code?

*after TNormalize, the next component i use is TJavaRow to further process the data

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello @Wei Lun Wong​ ,

You can setup the Item separator to ", " for tNormalize component, it will work as expected.

NOTE: there is a whitespace after the comma

0695b00000hsMhMAAU.pngBest regards

Aiming

 

 

View solution in original post

2 Replies
Anonymous
Not applicable

Hello @Wei Lun Wong​ ,

You can setup the Item separator to ", " for tNormalize component, it will work as expected.

NOTE: there is a whitespace after the comma

0695b00000hsMhMAAU.pngBest regards

Aiming

 

 

WWong1683187644
Contributor III
Contributor III
Author

Hi @Aiming Chen​ ,

 

Thanks for the sharing, i also just notified i can put more than 1 character in item separator.