CustomEncoder#
- class biopax-explorer.biopax.utils.class_utils.CustomEncoder(*args, **kwargs)[source]#
Bases:
CustomEncoderShortCustomEncoder : a Custom Class for instance serialization
Methods
default(obj)Implement this method in a subclass such that it returns a serializable object for
o, or calls the base implementation (to raise aTypeError).encode(o)Return a JSON string representation of a Python data structure.
iterencode(o[, _one_shot])Encode the given object and yield each string representation as available.
subobjrep
Methods Summary
subobjrep(obj)Methods Documentation