I want to get particular value of a key such as agentName in below json format in python. How can this be done?
{
"metaData": {
"fields": [
"id",
"path",
"time",
"userid",
"type",
"size",
"lastProcessed",
"numProcessed"
],
"queueStatus": {
"agentId": "publish-xxxxx",
"agentName": "publish-xxxxx",
"isBlocked": false,
"isPaused": false,
"lastProcessTime": -1,
"nextRetryPeriod": -1524578525793,
"processingSince": -1,
"time": 1524578525792
},
"root": "queue"
},
"queue": []
}
k["metaData"]["queueStatus"]["agentName"]wherekis your json dictionary. But you should really indicate what you have tried instead of asking people to just answerFalseandTrue