ArionLayoutSerializer class Pro
JSON round-trip for ArionLayout — one place, one format.
Tolerance has a boundary, and it is the VERSION: within the current version, unknown column keys and missing parts load tolerantly (see GridView.ApplyLayout); a layout from another version is rejected outright — there is deliberately no migration while the grid has no installed base to migrate. Applications that persist layouts should treat a rejected version as "start fresh", not as an error.
public static class ArionLayoutSerializer
- Namespace
- ArionUI.Layout
- Package
- ArionUI.Layout ·
dotnet add package ArionUI.Layout --prerelease
Methods
FromJson
public static ArionLayout? FromJson(string json);
ToJson
public static string ToJson(ArionLayout layout);
