I am working with the swapi API. I want to return an object but only specific entries.
For example;
Obj = { name: "Luke", age: 10, gender: "male"}
But I specifically want to return a new object which is the name and gender with it's key name and value.
My goal is to return them into a table but possibly have the option to have advanced filter. So user can return for name and age or more entries.