diff --git a/src/DotNetCore.CAP/Serialization/StringSerializer.cs b/src/DotNetCore.CAP/Serialization/StringSerializer.cs deleted file mode 100644 index 3c96647..0000000 --- a/src/DotNetCore.CAP/Serialization/StringSerializer.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) .NET Core Community. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. - -using DotNetCore.CAP.Messages; -using Newtonsoft.Json; - -namespace DotNetCore.CAP.Serialization -{ - public class StringSerializer - { - public static string Serialize(Message message) - { - return JsonConvert.SerializeObject(message); - } - - public static Message DeSerialize(string json) - { - return JsonConvert.DeserializeObject(json); - } - } -} \ No newline at end of file