Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# Serializers

class elastic_transport.Serializer

  Serializer interface.

class elastic_transport.JsonSerializer

  JSON serializer relying on the standard library json module.

class elastic_transport.OrjsonSerializer

  JSON serializer relying on the orjson package.

  Only available if orjson if installed. It is faster, especially for vectors, but is also stricter.

class elastic_transport.TextSerializer

  Text serializer to and from UTF-8.

class elastic_transport.NdjsonSerializer

  Newline delimited JSON (NDJSON) serializer relying on the standard library json module.