using System.Text.Json; namespace AIStudio.Tests.Serialization; /// /// A stored file in the fixtures, together with the type and the options AI Studio reads it with. /// /// The name of the file in the folder Fixtures next to the tests. /// The type AI Studio reads the file as. /// The options AI Studio reads and writes the file with. public sealed record JsonGoldenFile(string FileName, Type Type, JsonSerializerOptions Options) { /// public override string ToString() => this.FileName; }