bokeh.core.serialization#

Serialization and deserialization utilities.

class Buffer(id: 'ID', data: 'bytes | memoryview')[source]#
class Serialized(*args, **kwds)[source]#
class Serializable[source]#

A mixin for making a type serializable.

class Serializer(*, references: set[Model] = {}, deferred: bool = True)[source]#

Convert built-in and custom types into serializable representations.

class SerializationError[source]#
class Deserializer(references: Sequence[Model] | None = None, *, setter: Setter | None = None)[source]#

Convert from serializable representations to built-in and custom types.

class DeserializationError[source]#