import json


def save_json(data, path_target: str):
    """
    Saves json data to file at given path.
    :param data: Json to save.
    :param path_target: Path where to store the json data. String.
    """
    with open(path_target, 'w') as outfile:
        json.dump(data, outfile)
    print('Json saved to:', path_target)
    return True