import json
class JSONFormatter(object):
def format(self, sheet):
return json.dumps(
{
'seed': sheet.seed,
'entries': sheet.entries
},
indent=4
)