def METHOD_NAME():
    line = Line([0, 0, 0], [1, 0, 0])
    other = Line.from_data(json.loads(json.dumps(line.data)))
    assert line.start == other.start
    assert line.end == other.end
    if not compas.IPY:
        assert Line.validate_data(line.data)
        assert Line.validate_data(other.data)