Get a property from object