using System.Text.Json;
namespace AIStudio.Tests.Serialization;
///
/// A type which AI Studio reads or writes as JSON on its own, together with the options it uses for that.
///
/// The type which gets serialized. Whatever it holds gets checked along with it.
/// The options AI Studio passes to System.Text.Json for this type.
public sealed record JsonTestRoot(Type Type, JsonSerializerOptions Options)
{
///
public override string ToString() => JsonContractDescription.TypeName(this.Type);
}