fromJson

public static GenerateContentParameters fromJson(String jsonString)

Deserializes a JSON string to a GenerateContentParameters object.