import json


class JsonFile:
    @staticmethod
    def save(data: list, filename: str) -> None:
        with open(filename, 'w', encoding='utf-8') as f:
            json.dump(data, f, indent=2, ensure_ascii=False)


    @staticmethod
    def open(filename: str) -> None:
        with open(filename, 'r', encoding='utf-8') as f:
            return json.load(f)
