get Card Type From Json
Parses out the card type from the json and returns a CardType. If the type is that of a CardType.SHORT_NEWS and no image url is present, then the type returned will be that of a CardType.TEXT_ANNOUNCEMENT.
Return
The CardType if parsable from the json or CardType.DEFAULT.
Parameters
json Object
The json object of the com.braze.models.cards.Card.