init
This commit is contained in:
15
ProxyConfigContext.cs
Normal file
15
ProxyConfigContext.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace FireflyProxy;
|
||||
|
||||
#if NET8_0_OR_GREATER
|
||||
[JsonSourceGenerationOptions(
|
||||
AllowTrailingCommas = true,
|
||||
ReadCommentHandling = JsonCommentHandling.Skip
|
||||
)]
|
||||
[JsonSerializable(typeof(ProxyConfig))]
|
||||
internal partial class ProxyConfigContext : JsonSerializerContext
|
||||
{
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user