IQMJSONEncoder

IQMJSONEncoder#

Module: iqm.iqm_client.util

class iqm.iqm_client.util.IQMJSONEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None)#

Bases: JSONEncoder

JSONEncoder that that adds support for some non-JSON datatypes.

Attributes

Methods

default

Convert o into a serializable object.

default(o: Any) Any#

Convert o into a serializable object.

Parameters:

o (Any)

Return type:

Any

Inheritance

Inheritance diagram of iqm.iqm_client.util.IQMJSONEncoder