ApiBaseDeserializeT(HttpResponseMessage) Method
Deserializes a JSON string into an object of the specified type.
Namespace: GenerativeAI.CoreAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
protected Task<T> Deserialize<T>(
HttpResponseMessage response
)
- response HttpResponseMessage
[Missing <param name="response"/> documentation for "M:GenerativeAI.Core.ApiBase.Deserialize``1(System.Net.Http.HttpResponseMessage)"]
- T
- The type of object to deserialize into.
TaskTThe deserialized object of type T, or null if deserialization fails.