class User(peewee.Model):
    email = CharField()
status = BooleanField(default=True)
firstname = CharField()
lastname = CharField()
age = IntegerField()
created = DateTimeField(default=datetime.now())


class Meta:
    database = db
user = User.select().dicts().get()
print(json.dumps(user, default=json_util.default))
Peewee model to JSON