20 lines
517 B
C#
Executable File
20 lines
517 B
C#
Executable File
using Luski.net.JsonTypes.BaseTypes;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Luski.net.JsonTypes;
|
|
|
|
internal class OfflineKeyData : IncomingHTTP
|
|
{
|
|
public KeyExchange[]? keys { get; internal set; } = default!;
|
|
}
|
|
|
|
[JsonSerializable(typeof(OfflineKeyData))]
|
|
[JsonSourceGenerationOptions(
|
|
GenerationMode = JsonSourceGenerationMode.Default,
|
|
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
|
|
WriteIndented = false)]
|
|
internal partial class OfflineKeyDataContext : JsonSerializerContext
|
|
{
|
|
|
|
}
|