JiraRestApi\Issue\TimeTracking::jsonSerialize PHP Method

jsonSerialize() public method

(PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON.
public jsonSerialize ( ) : mixed
return mixed data which can be serialized by json_encode, which is a value of any type other than a resource.
    public function jsonSerialize()
    {
        return array_filter(get_object_vars($this));
    }