using System.Text.Json; namespace AIStudio.AIOperations; /// /// How AI operations read the JSON in the answers of models. /// /// /// Find the JSON in an answer with ModelAnswerJson first, then read it with these options. /// internal static class AIOperationsJson { /// /// The options for the JSON in a model answer to an AI operation. /// internal static readonly JsonSerializerOptions OPTIONS = new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower, TypeInfoResolver = AIOperationsJsonContext.Default, }.AsReadOnly(); }