def METHOD_NAME(self, json, field):
    shape = []
    decoded_shape = decode_polyline(json.get(field), precision=5)
    if decoded_shape:
        shape.extend((type_pb2.GeographicalCoord(lon=c[0], lat=c[1]) for c in decoded_shape))
    return shape