C#C
C#3mo ago
73 replies
GDcheerios

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 type attribute in the json.

example:
I want to turn Superhero character json into superhero, but instead it becomes character.
Was this page helpful?