ApiBaseDeserializeT(String) 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 T Deserialize<T>(
string json
)
- json String
- The JSON string to deserialize.
- T
- The type of object to deserialize into.
TThe deserialized object of type T, or null if deserialization fails.