Hi team I have two json request for singleton
[{
“a”: “1”
“b”:”2”
“c”:”3”
}]
and for batch
>{
“a”: “1”
“b”:”2”
“c”:”3”
},
{
“x”: “4”
“y”:”5”
“z”:”6”
}
]
if singleton come i need to pass first request and if batch comes i need to pick the second one and in the second one i need to pick first value.
am using json generator how to convert that into array as a request and then for batch how to pick the first value from multiple values.