I am new to python. I want to extract the elements of array 'Address' from below json. I am trying to use map to split the elements using
r=<below json>
s=r["Customer"]
y=s.map(lambda x:x.split(",")) 
But I am getting the error as .....AttributeError: 'str' object has no attribute 'map'
Can you please advise which is the best way to do this.
{ "id": "981",
  "Customer": 
[
  {
    "Name": "abc",
    "Title": "Mr",
    "Gender": "M",
    "Address": [
      {
    "Postcode": "2GF",
    "StreetName": "Black Street",
    "FlatNo": "123",
      }
    ]
  },
  {
    "Name": "xyz",
    "Title": "Mrs",
    "Gender": "F",
    "Address": [
      {
    "Postcode": "2CX",
    "StreetName": "White Street",
    "FlatNo": "123",
      }
    ]
  }
]
}
 
     
    