AgentClassSkill<TSelf>.SerializerOptions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the JsonSerializerOptions used to marshal parameters and return values for scripts and resources.
protected virtual System.Text.Json.JsonSerializerOptions? SerializerOptions { get; }
member this.SerializerOptions : System.Text.Json.JsonSerializerOptions
Protected Overridable ReadOnly Property SerializerOptions As JsonSerializerOptions
Property Value
Remarks
Override this property to provide custom serialization options. This value is used by reflection-discovered scripts and resources, and also as a fallback by CreateScript(String, Delegate, String, JsonSerializerOptions) and CreateResource(String, Delegate, String, JsonSerializerOptions) when no explicit JsonSerializerOptions is passed to those methods. The default value is null, which causes DefaultOptions to be used.