DataEncoder.default

DataEncoder.default(o)[source]

Return an object in serialized form.

Parameters

o (object) – The object to serialize.

Returns

str – The serialized object.