Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
kanuparthy
Contributor
Contributor

Insert an arry in mongodb

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"
}

Labels (3)
1 Reply
Anonymous
Not applicable

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