## 接口的使用
org.springframework.core.serializer.Serializer

- 使用Serializer的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.serializer | Root package for Spring's serializer interfaces and implementations.
  org.springframework.core.serializer.support | Support classes for Spring's serializer abstraction.

- - ### org.springframework.core.serializer中Serializer的使用

    实现Serializer的org.springframework.core.serializer中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `DefaultSerializer` A `Serializer` implementation that writes an object to an output stream using Java serialization.

  - ### org.springframework.core.serializer.support中Serializer的使用

    实现Serializer的org.springframework.core.serializer.support中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `SerializationDelegate` A convenient delegate with pre-arranged configuration state for common serialization needs.

    参数类型为Serializer的org.springframework.core.serializer.support中的构造器
    构造器和说明
    `SerializationDelegate(Serializer<Object> serializer, Deserializer<Object> deserializer)` Create a `SerializationDelegate` with the given serializer/deserializer.
    `SerializingConverter(Serializer<Object> serializer)` Create a `SerializingConverter` that delegates to the provided `Serializer`.