I need your help on decoding this piece of JSON
{
"json": {
"firstItem": {
"key": "key",
"value": "data"
},
"secondItem": {
"key": "key",
"value": "data"
},
"thirdItem": {
"key": "key",
"value": "data"
},.......... //All of the data, which is a lot, comes like this
}
}
I want to be able to decode this data, but can't figure out a way without having to write too much code because there are a lot of items. Is it possible to be able to decode this JSON maybe into a nesting of dictionaries, or even better into an array of item objects with just key and value attributes? Thanks in advance