fromJson

Deserializes a JSON string to a GeminiPreferenceExampleCompletion object.