Newtonsoft JSON Serialize/Deserialize derived types
Context; Using the Unity Engine. JSON files store game data of assets in the game. I have the below JSON file which stores data about possible Units in the game. This is a Dictionary<string, UnitEntity> where UnitEntity inherits Entity (which…