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

Announcements
Maximize ROI with Qlik Professional Services – Expert Guidance, Faster Results: Explore Qlik Services
cancel
Showing results for 
Search instead for 
Did you mean: 
sudarshank
Contributor III
Contributor III

What will be "parent json path" in tmongoinput [array data]?

In image data, what will be "parent json path" for read the questionid and questioName data.

Labels (6)
1 Solution

Accepted Solutions
Anonymous
Not applicable

A good tool for working out JSON paths can be found here....

 

https://jsonpathfinder.com/

View solution in original post

3 Replies
Anonymous
Not applicable

A good tool for working out JSON paths can be found here....

 

https://jsonpathfinder.com/

sudarshank
Contributor III
Contributor III
Author

Thank you!​

sudarshank
Contributor III
Contributor III
Author

Hi rhall,

 

returns null in output . Is it correct json path for read "questionId" data from below collection.

0695b00000YzS1KAAV.png 

 

collection data:

 

[

{

"_id": {

"$numberLong": "1"

},

"projectid": "f2a32744aacc9",

"surveyQuestionData": [

{

"questionId": {

"$numberLong": "100"

},

"languageId": {

"$numberLong": "1"

},

"questionName": "Any symptoms you have?",

"subQuestionId": {

"$numberLong": "0"

},

"optionMap": {

"1": "Yes",

"2": "No"

},

"isActive": true,

"response": {

"value": "1"

}

},

{

"questionId": {

"$numberLong": "101"

},

"languageId": {

"$numberLong": "1"

},

"questionName": "Covid-19 report positive?",

"subQuestionId": {

"$numberLong": "0"

},

"optionMap": {

"1": "Yes:",

"2": "No"

},

"isActive": true,

"response": {

"value": "1"

}

}

],

"surveyId": {

"$numberLong": "1"

},

"surveyName": "COVID-19",

"languageId": {

"$numberLong": "1"

},

"isActive": true,

"_class": "com.dummy"

},

{

"_id": {

"$numberLong": "2"

},

"projectid": "f2a32744aacc9",

"surveyQuestionData": [

{

"questionId": {

"$numberLong": "100"

},

"languageId": {

"$numberLong": "1"

},

"questionName": "Any symptoms you have?",

"subQuestionId": {

"$numberLong": "0"

},

"optionMap": {

"1": "Yes",

"2": "No"

},

"isActive": true,

"response": {

"value": "1"

}

},

{

"questionId": {

"$numberLong": "101"

},

"languageId": {

"$numberLong": "1"

},

"questionName": "Covid-19 report positive?",

"subQuestionId": {

"$numberLong": "0"

},

"optionMap": {

"1": "Yes:",

"2": "No"

},

"isActive": true,

"response": {

"value": "1"

}

}

],

"surveyId": {

"$numberLong": "1"

},

"surveyName": "COVID-19",

"languageId": {

"$numberLong": "1"

},

"isActive": true,

"_class": "com.dummy"

}

]