From 7772060bd6d3a5f5e242067ee32dd81ff4635758 Mon Sep 17 00:00:00 2001 From: Ricardo Ferreira Date: Mon, 14 Aug 2023 16:27:38 +0100 Subject: [PATCH] Added public setter for System.Text.Json JsonSerialize --- .../StorageOptions/SessionStorageOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Blazored.SessionStorage/StorageOptions/SessionStorageOptions.cs b/src/Blazored.SessionStorage/StorageOptions/SessionStorageOptions.cs index 2156750..727545b 100644 --- a/src/Blazored.SessionStorage/StorageOptions/SessionStorageOptions.cs +++ b/src/Blazored.SessionStorage/StorageOptions/SessionStorageOptions.cs @@ -4,5 +4,5 @@ namespace Blazored.SessionStorage.StorageOptions; public class SessionStorageOptions { - public JsonSerializerOptions JsonSerializerOptions { get; } = new(); + public JsonSerializerOptions JsonSerializerOptions { get; set; } = new(); }