I have an array of objects. I am trying to filter some objects from the array and get a new array using the following.
[
  {
    "userId": 1,
    "title": "title 1",
    "body": "Body for user 1",
    "address": {
      "country": "Germany",
      "state": "State1"
    },
    "phone": 1234
  },
  {
    "userId": 2,
    "title": "title 2",
    "body": "Body for user 2",
    "address": {
      "country": "Canada",
      "state": "State2"
    },
    "phone": 4321
  }
]
How can i filter the array and get the new array without address and phone.
Any help is appreciated. Thank you
 
     
     
     
    