Update README.md

Added example on how to use GetSuccessFromObject and GetError