I am trying to get a value from a json array
I understand that in the JSONPATH transformation we can designate a specific array element to parse with [n] with the first record being 0
How do I use the array record number in the JSONPATH expression when the whole json is a series of records such as the following
{
"output1": {
"value": true
},
"output2": {
"value": false
},
"output3": {
"value": false
},
"output4": {
"value": false
},
"output5": {
"value": false
},
"output6": {
"value": false
},
"output7": {
"value": false
},
"output8": {
"value": false
},
"output9": {
"value": false
},
"output10": {
"value": false
},
"output11": {
"value": false
},
"output12": {
"value": false
},
"output13": {
"value": false
},
"output14": {
"value": false
},
"output15": {
"value": false
},
"output16": {
"value": false
}
}
For example what would the expression be to parse the first record of the array to find output1.value
Thank you