diff --git a/Shared/BrowserProfileUtility.cs b/Shared/BrowserProfileUtility.cs index 57e83bf..fa079c7 100644 --- a/Shared/BrowserProfileUtility.cs +++ b/Shared/BrowserProfileUtility.cs @@ -15,6 +15,7 @@ public async Task Save(string? key, FamilyData? familyData) DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault, IgnoreReadOnlyProperties = true, WriteIndented = true, + NumberHandling = JsonNumberHandling.AllowNamedFloatingPointLiterals, Converters = { new JsonStringEnumConverter(JsonNamingPolicy.CamelCase) @@ -54,6 +55,7 @@ public async Task Load(IAppData appData) StoredJson = await LocalStorageAccessor!.GetValueAsync(appData.CurrentProfileName); var options = new JsonSerializerOptions() { + NumberHandling = JsonNumberHandling.AllowNamedFloatingPointLiterals, Converters = { new JsonStringEnumConverter(JsonNamingPolicy.CamelCase) diff --git a/src.sln b/src.sln index e065d48..0f2b1ae 100644 --- a/src.sln +++ b/src.sln @@ -7,7 +7,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "src", "src.csproj", "{28B10 EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "api", "api\api.csproj", "{519B0E10-3FC1-4F2D-9A6D-EC465728C8E9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "library", "library\25XLibrary.csproj", "{EA2E6D14-91D2-4580-8994-A414F18DDDFF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "library", "library\Folio.Library.csproj", "{EA2E6D14-91D2-4580-8994-A414F18DDDFF}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution