liveBook · Manning

Serializer

A serializer is a software component that converts structured in-memory data into a representation suitable for storage or transmission, typically bytes.

How 4 Manning books explain it

Kafka Streams in Action, Second Edition

The Kafka Serializer interface defines the API that a serializer implementation uses to convert data into bytes.

How it is used
Converts producer-side event objects into Kafka transport bytes while preserving a producer-consumer event contract.
How deep it goes
Defines serialize, explains client configuration, and demonstrates Schema Registry and custom Jackson implementations without producer-client internals.
Examples
Demonstrates Avro-generated Avenger objects, KafkaAvroSerializer configuration, custom Jackson serialization, and Avro unions for multiple event types.
What you can do after
Build it from scratch by implementing serialize, or apply it via Schema Registry serializer classes in Kafka producer configuration.

Read how Kafka Streams in Action, Second Edition explains serializer →

Django in Action

A serializer is a component that converts application objects or data into a transport representation and may reconstruct objects from that representation.

How it is used
Shapes Venue API responses and creation payloads for CRUD endpoints.
How deep it goes
Explains ModelSchema fields, resolver methods, nesting, aliases, and .dict()-based creation without detailing serializer internals.
Examples
Demonstrates VenueOut with slug and URL, RoomSchema nesting, and VenueIn in an authenticated POST endpoint.
What you can do after
Build it from scratch by defining input, output, computed, and nested schemas for Venue endpoints.

Read how Django in Action explains serializer →

Pro ASP.NET Core 7, Tenth Edition

A serialization component that converts application values into JSON representations and can reconstruct values from JSON.

How it is used
Shapes ASP.NET Core JSON responses by selecting properties, suppressing nulls, and exposing serialization failures caused by object cycles.
How deep it goes
Explains projection, property attributes, global options, and cycle failures, but does not detail deserialization.
Examples
Uses Product and Supplier responses, null-property omission, anonymous projections, and an Include query that creates a circular reference.
What you can do after
Operate/configure it via model attributes or Program.cs options, and diagnose object-cycle errors in related-data responses.

Read how Pro ASP.NET Core 7, Tenth Edition explains serializer →

Kafka for Architects

A serializer is a component that converts structured data into a serialized representation such as bytes for transmission or storage.

How it is used
Configures how Kafka producers encode keys and values before transmission, while consumers select corresponding deserializers.
How deep it goes
Explains client configuration, matching, runtime failure, custom implementations, and placement within producer batching.
Examples
Uses integer keys with string values, primitive serializers, custom implementations, and Avro, JSON, or Protobuf converter formats.
What you can do after
Operate/configure Kafka clients with compatible key and value serializers and deserializers.

Read how Kafka for Architects explains serializer →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.