@NonNullApi @NonNullFields

# Package org.springframework.messaging.converter

Provides support for message conversion.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ContentTypeResolver | Resolve the content type for a message.
  MessageConverter | A converter to turn the payload of a `Message` from serialized form to a typed Object and vice versa.
  SmartMessageConverter | An extended `MessageConverter` SPI with conversion hint support.

- Class Summary
  Class | Description
  --- | ---
  AbstractJsonMessageConverter | Common base class for plain JSON converters, e.g.
  AbstractMessageConverter | Abstract base class for `SmartMessageConverter` implementations including support for common properties and a partial implementation of the conversion methods, mainly to check if the converter supports the conversion based on the payload class and MIME type.
  ByteArrayMessageConverter | A `MessageConverter` that supports MIME type "application/octet-stream" with the payload converted to and from a byte[].
  CompositeMessageConverter | A `MessageConverter` that delegates to a list of registered converters to be invoked until one of them returns a non-null result.
  DefaultContentTypeResolver | A default `ContentTypeResolver` that checks the `MessageHeaders.CONTENT_TYPE` header or falls back to a default value.
  GenericMessageConverter | An extension of the `SimpleMessageConverter` that uses a `ConversionService` to convert the payload of the message to the requested type.
  GsonMessageConverter | Implementation of `MessageConverter` that can read and write JSON using Google Gson.
  JsonbMessageConverter | Implementation of `MessageConverter` that can read and write JSON using the JSON Binding API.
  KotlinSerializationJsonMessageConverter | Implementation of `MessageConverter` that can read and write JSON using kotlinx.serialization.
  MappingJackson2MessageConverter | A Jackson 2 based `MessageConverter` implementation.
  MarshallingMessageConverter | Implementation of `MessageConverter` that can read and write XML using Spring's `Marshaller` and `Unmarshaller` abstractions.
  ProtobufJsonFormatMessageConverter | Subclass of `ProtobufMessageConverter` for use with the official `"com.google.protobuf:protobuf-java-util"` library for JSON support.
  ProtobufMessageConverter | An `MessageConverter` that reads and writes `com.google.protobuf.Messages` using Google Protocol Buffers.
  SimpleMessageConverter | A simple converter that simply unwraps the message payload as long as it matches the expected target class.
  StringMessageConverter | A `MessageConverter` that supports MIME type "text/plain" with the payload converted to and from a String.

- Exception Summary
  Exception | Description
  --- | ---
  MessageConversionException | An exception raised by `MessageConverter` implementations.

## Package org.springframework.messaging.converter Description

Provides support for message conversion.