fromJson

public static Endpoint fromJson(String jsonString)

Deserializes a JSON string to a Endpoint object.