浏览代码

Delete unused file

master
Savorboard 4 年前
父节点
当前提交
7c33b2503d
共有 1 个文件被更改,包括 0 次插入21 次删除
  1. +0
    -21
      src/DotNetCore.CAP/Serialization/StringSerializer.cs

+ 0
- 21
src/DotNetCore.CAP/Serialization/StringSerializer.cs 查看文件

@@ -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<Message>(json);
}
}
}

正在加载...
取消
保存