How to Deserialize dynamic types from json
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
example:
I want to turn Superhero character json into superhero, but instead it becomes character.
type attribute in the json.example:
I want to turn Superhero character json into superhero, but instead it becomes character.
