I have a JSON array like this:
[
{
"stats": {
"callQuality": 5,
"audioRecvRemoteMute": false,
"audioRecvLocalMute": true,
},
"rtpStatsList": [
{
"media": 1,
"direction": 1,
"content": true,
}
],
"timestamp": 1460208299000
},
{
"stats": {
"callQuality": 5,
"audioRecvRemoteMute": false,
"audioRecvLocalMute": true,
},
"rtpStatsList": [
{
"media": 1,
"direction": 1,
"content": true,
}
],
"timestamp": 1460208299000
},
]
There are multiple elements (180 elements for e.g.) in the array. I need "media" and "direction" parameters under rtpStatsList. Any useful suggestion to parse the same using JAVA?