From c2742e31a4032cf5ff3cb7f8e379896c82a7a98d Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Thu, 24 Jan 2019 14:39:51 +0100 Subject: [PATCH] Allow empty strings for json. --- src/Squidex.Infrastructure/Json/Objects/JsonObject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Squidex.Infrastructure/Json/Objects/JsonObject.cs b/src/Squidex.Infrastructure/Json/Objects/JsonObject.cs index c4974ce47..6eb6195d0 100644 --- a/src/Squidex.Infrastructure/Json/Objects/JsonObject.cs +++ b/src/Squidex.Infrastructure/Json/Objects/JsonObject.cs @@ -24,7 +24,7 @@ namespace Squidex.Infrastructure.Json.Objects } set { - Guard.NotNullOrEmpty(key, nameof(key)); + Guard.NotNull(key, nameof(key)); inner[key] = value ?? JsonValue.Null; }