AgentRunResponse.Deserialize<T>(JsonSerializerOptions) Method
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.
Deserializes the response text into the given type using the specified serializer options.
public T Deserialize<T>(System.Text.Json.JsonSerializerOptions serializerOptions);
member this.Deserialize : System.Text.Json.JsonSerializerOptions -> 'T
Public Function Deserialize(Of T) (serializerOptions As JsonSerializerOptions) As T
Type Parameters
- T
The output type to deserialize into.
Parameters
- serializerOptions
- JsonSerializerOptions
The JSON serialization options to use.
Returns
The result as the requested type.
Exceptions
The result is not parsable into the requested type.