❔ how can i save flow layout panel

im doing a simple video game library with C# but the problem is i cant save them when i add new panel in flow layout we can do with .json or .txt but actually i dont know how can i save in .json or .txt also in video game library you can add images for the game and if u dont want to add its ur decision, can someone help me to fix my saving problem. we have 3 variable 1- Name of the game 2- The location of the game 3- Logo of the game
4 Replies
Buddy
Buddy10mo ago
You can use Json then use System.Text.Json (STJ) to Serialize / Deserialize the json
Buddy
Buddy10mo ago
How to serialize and deserialize JSON in C# - .NET
Learn how to use the System.Text.Json namespace to serialize to and deserialize from JSON in .NET. Includes sample code.
Buddy
Buddy10mo ago
Json is a text file too, just that you don't have to write the parser yourself. If you used a normal text file, you'd have to write your own parser.
Accord
Accord10mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.