Encode Object Example