productionsystem.sql.JSONTableEncoder module¶
JSON Utilities Module.
-
class
productionsystem.sql.JSONTableEncoder.
JSONTableEncoder
(skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, encoding='utf-8', default=None)¶ Bases:
json.encoder.JSONEncoder
JSON encoder for SQLAlchemy tables.
-
default
(obj)¶ Override base default method.
-
-
productionsystem.sql.JSONTableEncoder.
json_cherrypy_handler
(*args, **kwargs)¶ Handle JSON encoding of response.