Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
During my searching, I would like to know if there is a tool in Talend to transform automatically a json file (indented on many lines) to a json file with "only one" line in order to work it with the Jira output.
Thanks in advance,
Alex
Hello,
Could you please elaborate your case with an example with input and expected output values?
Best regards
Sabrina
Hi, yes sure !
For instance, I would like to transform this file :
{
"fields": {
"project": {
"key": "TRL"
},
"summary": "ALEX IMPORT A TASK",
"description": "ALEX IMPORT A TASK",
"issuetype": {
"name": "Bug_webapp"
}
}
}
to one line automatically :
{ "fields": { "project": { "key": "TRL" }, "summary": "ALEX IMPORT A TASK", "description": "ALEX IMPORT A TASK", "issuetype": { "name": "Bug_webapp" } } }
Because now I have to use, everytime, manually the shortcut ctrl + J to join the content of the file on one line to prepare this JSON file for the outputJiraComponant.
Have you got any ideas ?
Best regards