13 lines
313 B
C#
13 lines
313 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace FileExposer.Models;
|
|
|
|
public record Segment(Record? Left,
|
|
Record? Right);
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true)]
|
|
[JsonSerializable(typeof(Segment))]
|
|
public partial class SegmentSourceGenerationContext : JsonSerializerContext
|
|
{
|
|
}
|