tag:blogger.com,1999:blog-3766766637198680875.post4311192773568879744..comments2024-03-29T02:24:22.234-07:00Comments on Commit 2 Deliver: Convert JSON file to XML in Talend Open StudioVThttp://www.blogger.com/profile/10286157532310498338noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3766766637198680875.post-31898230652979446322018-04-06T07:21:55.617-07:002018-04-06T07:21:55.617-07:00Hi Vikram,
The problem is my json file is having d...Hi Vikram,<br />The problem is my json file is having duplicates so when i work with the way you mentioned is giving me error as duplicate keys.<br />Would you please help me to get the way to ignore duplicatesfrom json so as it will be converted to xml .<br /><br />Your help will be highly appreciated.<br /><br />Thanks !<br />makeup and lifestylehttps://www.blogger.com/profile/09032125213755203733noreply@blogger.comtag:blogger.com,1999:blog-3766766637198680875.post-71310652806861054092018-03-13T01:31:14.507-07:002018-03-13T01:31:14.507-07:00hello sir
sir m able to create xml file but there ...hello sir<br />sir m able to create xml file but there is no data in my xml file.<br />My data coming like this only:<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />could u pls help me reg thisAnonymoushttps://www.blogger.com/profile/11550033403751043199noreply@blogger.comtag:blogger.com,1999:blog-3766766637198680875.post-66534938680104611272017-01-10T09:25:27.395-08:002017-01-10T09:25:27.395-08:00Can you send me your jobs at my email id with samp...Can you send me your jobs at my email id with sample data?VThttps://www.blogger.com/profile/10286157532310498338noreply@blogger.comtag:blogger.com,1999:blog-3766766637198680875.post-37747049502586272022017-01-10T08:16:40.316-08:002017-01-10T08:16:40.316-08:00Hi Vikram,
One more issue that I am facing when u...Hi Vikram,<br /><br />One more issue that I am facing when using the tFileInputRow component. I need to process one file containing 3 JSON objects. But the job is generating 3 XML records instead of one.<br /><br />For Example:Say my JSON is as shown below:<br />{"entities":[{"first_name":"John","last_name":"Rambo","office_address":{&hiitzsdghttps://www.blogger.com/profile/18285431546200645925noreply@blogger.comtag:blogger.com,1999:blog-3766766637198680875.post-86638886831135550572017-01-02T01:09:36.104-08:002017-01-02T01:09:36.104-08:00Thanks for your prompt response. The sample JSON t...Thanks for your prompt response. The sample JSON that I am trying to convert to XML is as under:<br />[{"entities":[{"first_name":"John","last_name":"Rambo","office_address":{"first_line": "123 Bloor Street","town" : "Mississauga","state": "Ontario","country": "hiitzsdghttps://www.blogger.com/profile/18285431546200645925noreply@blogger.comtag:blogger.com,1999:blog-3766766637198680875.post-18377877927118280092017-01-02T00:47:17.387-08:002017-01-02T00:47:17.387-08:00Could you please share your json? Could you please share your json? Anonymoushttps://www.blogger.com/profile/04855336952574666293noreply@blogger.comtag:blogger.com,1999:blog-3766766637198680875.post-85129016301315394502017-01-01T23:37:39.294-08:002017-01-01T23:37:39.294-08:00Hi,
My JSON has 2 records. But when I am trying t...Hi,<br /><br />My JSON has 2 records. But when I am trying to use this method and trying to convert, the Talend job is failing with the error message <br />"[FATAL]: .jsontoxmlfilelist_0_1.jsonToXMLFileList - tJavaRow_1 A JSONObject text must begin with '{' at 1 [character 2 line 1]<br />Exception in component tJavaRow_1<br />org.json.JSONException: A JSONObject text must begin with hiitzsdghttps://www.blogger.com/profile/18285431546200645925noreply@blogger.com