fromJson

public static UsageMetadata fromJson(String jsonString)

Deserializes a JSON string to a UsageMetadata object.