Luski.Net/Luski.net/JsonTypes/OfflineData.cs
JacobTech 106d0d6078 Migration starts
• A lot of work needs to be done to make sure this works.
• I already know this push won't work, but it will build.
• I need to come up with a new way of storing local info. This will also bee needed to fix the very broken key system in this rushed commit.
2023-07-03 23:24:35 -04:00

21 lines
546 B
C#

using System.Text.Json.Serialization;
using Luski.net.JsonTypes.BaseTypes;
namespace Luski.net.JsonTypes;
public class OfflineData : IncomingHTTP
{
[JsonPropertyName("data")]
[JsonInclude]
public string[]? Data { get; internal set; } = default!;
}
[JsonSerializable(typeof(OfflineData))]
[JsonSourceGenerationOptions(
GenerationMode = JsonSourceGenerationMode.Default,
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
WriteIndented = false)]
internal partial class OfflineDataContext : JsonSerializerContext
{
}