def __init__(self, jsonfilename=None, writable=True, **kwargs):
        super(JSONFile, self).__init__(**kwargs)
        if jsonfilename == None and 'parent' in kwargs and hasattr(kwargs['parent'], 'jsonfilename'):
            jsonfilename = kwargs['parent'].jsonfilename
        if 'defaults' in kwargs:
            self.source = kwargs['defaults']
        else:
            with open(jsonfilename) as fp:
                self.source = json.load(fp)
            self.jsonfilename = jsonfilename
            self.dirty = False
        self.writable = writable
Add a module level NVVM IR to a compilation unit.
dataset/ETHPy150Open staffanm/layeredconfig/layeredconfig/jsonfile.py/JSONFile.__init__--crossover with--dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/nvvm.py/CompilationUnit.add_module