fromJson

public static PredefinedMetricSpec fromJson(String jsonString)

Deserializes a JSON string to a PredefinedMetricSpec object.