skip to Main Content

Json – How to serialize the recursive dictionary in C#?

Below class is the recursive dictionary (tree-like structure). The EntityID is just the alias of string which must be accessed via HierarchicalRelationshipsMap.EntityID. public class HierarchicalRelationshipsMap: Dictionary<HierarchicalRelationshipsMap.EntityID, HierarchicalRelationshipsMap> { public class EntityID { public static implicit operator EntityID(string value) => new…

VIEW QUESTION

Save data in Json flutter

I'm trying to build a sudoku application in flutter but the problem is it needs a continue button in it but I don't know how to save current played game data in the Json. class GameController extends GetxController { Timer?…

VIEW QUESTION
Back To Top
Search