code: def write(self, node, filehandle):
          
          dictexporter = self.dictexporter or DictExporter()
          data = dictexporter.export(node)
          return json.dump(data, filehandle, **self.kwargs)
docs: Write JSON to `filehandle` starting at `node`.