AccountingNext/Schaad.Accounting.Db/Repositories
Claudio Schaad 24bdfe60bc Store data as JSON instead of XML, with startup migration
Repositories now read and write indented, human-readable JSON
(System.Text.Json, shared settings in JsonStorage). File names and folders
are unchanged apart from the extension.

XmlToJsonMigrator runs at startup before the app serves requests. It converts
the known Data/*.xml files under every year/mandator, verifies the JSON reads
back to the same data, and moves the XML to
{year}/backup/{mandator}/xml-{timestamp}/. Bank-statement XMLs in uploads/ are
never touched. Any failure stops startup and leaves that file's XML in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 13:34:23 +02:00
..
AccountRepository.cs Store data as JSON instead of XML, with startup migration 2026-10-22 13:34:23 +02:00
BankTransactionRepository.cs Store data as JSON instead of XML, with startup migration 2026-10-22 13:34:23 +02:00
BaseRepository.cs Store data as JSON instead of XML, with startup migration 2026-10-22 13:34:23 +02:00
BookingRuleRepository.cs Store data as JSON instead of XML, with startup migration 2026-10-22 13:34:23 +02:00
BookingTextRepository.cs Store data as JSON instead of XML, with startup migration 2026-10-22 13:34:23 +02:00
SplitPredefinitionRepository.cs Store data as JSON instead of XML, with startup migration 2026-10-22 13:34:23 +02:00
SubclassRepository.cs Store data as JSON instead of XML, with startup migration 2026-10-22 13:34:23 +02:00
TransactionRepository.cs Store data as JSON instead of XML, with startup migration 2026-10-22 13:34:23 +02:00