def writeJSON(self, out):
    "\n        Writes table data in json to file out\n        \n        JSON doesn't have date type, hence default=str\n        "
    import json
    self._outTest(out)
    f = open(out, 'w')
    with f as outfile:
        json.dump(self.table, outfile, default=str)
    self.verbose(('json written to %s' % out))
Writes table data in json to file out

JSON doesn't have date type, hence default=str
def writeJSON(self, out):
    "\n        Writes table data in json to file out\n        \n        JSON doesn't have date type, hence default=str\n        "
    import json
    self._outTest(out)
    f = open(out, 'w')
    with f as outfile:
        json.dump(self.table, outfile, default=str)
    self.verbose(('json written to %s' % out))