Right now we're using mapFromDictionaryKey() to map a variable to the class type which works fairly well. But, as I remember in Android GSON will automatically detect the type and just parse it using that class.
Just curious - is there a way OCMapper can figure this out itself?
ie: any way OCMapper could figure out that homeTeam variable is of class type GameStatusTeam and not require the mapping below?
var homeTeam: GameStatusTeam?
...
mapper().mapFromDictionaryKey("homeTeam", toPropertyKey:"homeTeam", withObjectType:GameStatusTeam.self, forClass:GameStatus.self);