From 3da6a705e32294154f397974d1b78d4e8277fbc5 Mon Sep 17 00:00:00 2001 From: R F <43184844+rf-0@users.noreply.github.com> Date: Mon, 14 Aug 2023 08:41:00 +0100 Subject: [PATCH] #216 - Added public setter for System.Text.Json JsonSerializerOptions (#217) --- src/Blazored.LocalStorage/StorageOptions/LocalStorageOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Blazored.LocalStorage/StorageOptions/LocalStorageOptions.cs b/src/Blazored.LocalStorage/StorageOptions/LocalStorageOptions.cs index 1bbb9fe..ce4367a 100644 --- a/src/Blazored.LocalStorage/StorageOptions/LocalStorageOptions.cs +++ b/src/Blazored.LocalStorage/StorageOptions/LocalStorageOptions.cs @@ -4,6 +4,6 @@ namespace Blazored.LocalStorage.StorageOptions { public class LocalStorageOptions { - public JsonSerializerOptions JsonSerializerOptions { get; } = new JsonSerializerOptions(); + public JsonSerializerOptions JsonSerializerOptions { get; set; } = new JsonSerializerOptions(); } }