import json
from file_helper import dir_path, get_filename, get_fullpath

def write(source, obj, filename):
    path = dir_path(source)
    fullpath = get_fullpath(path, filename, 'json')
    with open(fullpath, 'w', encoding='utf8') as f:
        json.dump(obj, f, ensure_ascii=False, separators=(',', ': '), indent=4)
    print("✔️  File %s.json created" % filename)

00b4e04f96c7be7f2c445f0b81d70710cbe9d9c3
<mask token>

<mask token>


def write(source, obj, filename):
    path = dir_path(source)
    fullpath = get_fullpath(path, filename, 'json')
    with open(fullpath, 'w', encoding='utf8') as f:
        json.dump(obj, f, ensure_ascii=False, separators=(',', ': '), indent=4)
    print('✔️  File %s.json created' % filename)

import json
from file_helper import dir_path, get_filename, get_fullpath


def write(source, obj, filename):
    path = dir_path(source)
    fullpath = get_fullpath(path, filename, 'json')
    with open(fullpath, 'w', encoding='utf8') as f:
        json.dump(obj, f, ensure_ascii=False, separators=(',', ': '), indent=4)
    print('✔️  File %s.json created' % filename)

import json
from file_helper import dir_path, get_filename, get_fullpath

def write(source, obj, filename):
    path = dir_path(source)
    fullpath = get_fullpath(path, filename, 'json')
    with open(fullpath, 'w', encoding='utf8') as f:
        json.dump(obj, f, ensure_ascii=False, separators=(',', ': '), indent=4)
    print("✔️  File %s.json created" % filename)
