mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 17:07:22 +00:00
10 lines
475 B
C#
10 lines
475 B
C#
using System.Text.Json;
|
|||
|
|
|
||
|
|
namespace AIStudio.TrimSmokeTest;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// A type which AI Studio reads or writes as JSON on its own, together with the options it uses for that.
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="Type">The type which gets serialized. Whatever it holds gets checked along with it.</param>
|
||
|
|
/// <param name="Options">The options AI Studio passes to System.Text.Json for this type.</param>
|
||
|
|
public sealed record JsonRoot(Type Type, JsonSerializerOptions Options);
|