I'm making a game where users will store multiple different types of items. My Question is when deserializing an item from json it will just deserialize to the given
type
type
attribute in the json.
example: I want to turn Superhero character json into superhero, but instead it becomes character.