How to get the both keys and values from Json using python

  python, python-3.x

I have a Json like

{
 "A":[
  {
  "key1": "value1"
  "key2": "value2"
  "key3": [
   {
   "key4": "value4"
   "key5": "value5"
   }
   ]
  }
 ]
}

How can I get the both key4 : value4 and key5 : value5 using python

Source: Python-3x Questions

LEAVE A COMMENT