diff --git a/ICD.Common.Utils.Tests/Json/JsonUtilsTest.cs b/ICD.Common.Utils.Tests/Json/JsonUtilsTest.cs index cbcce53..ac2397c 100644 --- a/ICD.Common.Utils.Tests/Json/JsonUtilsTest.cs +++ b/ICD.Common.Utils.Tests/Json/JsonUtilsTest.cs @@ -3,8 +3,8 @@ namespace ICD.Common.Utils.Tests.Json { [TestFixture] - public sealed class JsonUtilsTest - { + public sealed class JsonUtilsTest + { [Test] public void CacheTypeTest() { diff --git a/ICD.Common.Utils/Json/JsonUtils.cs b/ICD.Common.Utils/Json/JsonUtils.cs index 4a3e57c..8d522c2 100644 --- a/ICD.Common.Utils/Json/JsonUtils.cs +++ b/ICD.Common.Utils/Json/JsonUtils.cs @@ -20,7 +20,7 @@ namespace ICD.Common.Utils.Json private const string DATE_FORMAT = @"yyyy-MM-dd\THH:mm:ss"; private const string MESSAGE_NAME_PROPERTY = "m"; - private const string MESSAGE_DATA_PROPERTY = "d"; + private const string MESSAGE_DATA_PROPERTY = "d"; /// /// Forces Newtonsoft to cache the given type for faster subsequent usage. @@ -197,10 +197,10 @@ namespace ICD.Common.Utils.Json { w.WriteStartObject(); { - w.WritePropertyName(MESSAGE_NAME_PROPERTY); - w.WriteValue(messageName); + w.WritePropertyName(MESSAGE_NAME_PROPERTY); + w.WriteValue(messageName); - w.WritePropertyName(MESSAGE_DATA_PROPERTY); + w.WritePropertyName(MESSAGE_DATA_PROPERTY); serializeMethod(w); } w.WriteEndObject();