ErythroGuild / irene

<Erythro>'s server admin bot.
Mozilla Public License 2.0
0 stars 0 forks source link

Switch to using JSON for as much data storage as it makes sense for #419

Open Ernest314 opened 1 year ago

Ernest314 commented 1 year ago

System.Text.Json (if implemented properly) would make data-storage human-readable, and at only a slight cost to performance (and only on startup, generally?), be more robust, and remove the need to manually program custom serialization/deserialization for each instance.

Ernest314 commented 1 year ago

See: https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/how-to

(includes both serialization and deserialization)