def _append_value(self, value, _file, _name):
        """Call this function to write contents.

        Keyword arguments:
            * value - dict, content to be dumped
            * _file - FileIO, output file
            * _name - str, name of current content dict

        """
        _tabs = '\t' * self._tctr
        _cmma = ',\n' if self._vctr[self._tctr] else ''
        _keys = '{cmma}{tabs}"{name}" :'.format(cmma=_cmma, tabs=_tabs, name=_name)

        _file.seek(self._sptr, os.SEEK_SET)
        _file.write(_keys)

        self._vctr[self._tctr] += 1
        self._append_object(value, _file)
def _append_value ( self , value , _file , _name ) : _tabs = '\t' * self . _tctr _cmma = ',\n' if self . _vctr [ self . _tctr ] else '' _keys = '{cmma}{tabs}"{name}" :' . format ( cmma = _cmma , tabs = _tabs , name = _name ) _file . seek ( self . _sptr , os . SEEK_SET ) _file . write ( _keys ) self . _vctr [ self . _tctr ] += 1 self . _append_object ( value , _file )
Call this function to write contents.

        Keyword arguments:
            * value - dict, content to be dumped
            * _file - FileIO, output file
            * _name - str, name of current content dict