I am trying to deserialize a json response with custom enum values, but instead of mapping with the custom value, enum is being set with its ordinal value. I have searched a