fromJson

public static Segment fromJson(String jsonString)

Deserializes a JSON string to a Segment object.