Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
fab_74
Contributor III
Contributor III

twritejson default type string

Hi,
for my client i must produce json files. Somes datatype (id) declared like integer.
after building json tree, I can see my id with double-cote("), like a string
When I run my talend job, i have the "error" message
févr. 18, 2015 10:26:08 PM net.sf.json.xml.XMLSerializer getType
Infos: Using default type string
How can I do to solve my problem? Is any librairy aren't present?
Can you Help me.
thanks
Labels (4)
2 Replies
Anonymous
Not applicable

Hi
You are getting that message because your root element does declare a type, so it used the default type string. 
It's just an INFO message that don't affect the generated result, if you want to remove it from the console, you just need to add an attribute called "type" to the root element and set a fixed value "string" to it. see 
    0683p000009MCsu.png
Anonymous
Not applicable

Thanks for recipe!