Six Stars

twritejson default type string

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.
Community Manager

Re: twritejson default type string

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 
Talend | Data Agility for Modern Business
One Star

Re: twritejson default type string

Thanks for recipe!