import json


def write(gjson_object, geojson_filename):
    """
    Write GeoJSON object to file
    """
    with open(geojson_filename, 'w') as fp:
        json.dump(gjson_object, fp)
    return geojson_filename