Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
how to represent array in parentnode of mongodboutput component.
I need the ouput has below
{
"_id" : ObjectId("5e995cd93e586c1b302cfbd3"),
"claimId" : NumberLong(7142),
"patientId" : NumberLong(88229),
"patientLastName" : "TEST",
"patientFirstName" : "GARY",
"patientMiddleInitial" : "A",
"details" :[ {
"patientSex" : "MALE"
}],
"patientDob" : "1950-04-13"
}
Hello,
In advanced settings of tmongodboutput you can enable the option "Generate JSON Document" and configure the JSON tree according to your JSON. Below is the link on how to configure the JSON tree.
https://help.talend.com/r/en-US/8.0/processing/configuring-a-json-tree