Flow.Launcher/Flow.Launcher.Core/Plugin/JsonRPCModelContext.cs
2022-08-31 21:34:47 -05:00

21 lines
646 B
C#

using System.Text.Json.Serialization;
namespace Flow.Launcher.Core.Plugin
{
// TODO: After Upgrading to .Net 7, adding Source Generating Context for IAsyncEnumerable JsonRPCMessage
[JsonSerializable(typeof(JsonRPCQueryResponseModel))]
public partial class JsonRPCQueryResponseModelContext : JsonSerializerContext
{
}
[JsonSerializable(typeof(JsonRPCRequestModel))]
public partial class JsonRPCRequestModelContext : JsonSerializerContext
{
}
[JsonSerializable(typeof(JsonRPCClientRequestModel))]
public partial class JsonRPCClientRequestModelContext : JsonSerializerContext
{
}
}