• Overview
  • Help
  • Serde data model
  • Using derive
  • Attributes
    • Container attributes
    • Variant attributes
    • Field attributes
  • Custom serialization
    • Implementing Serialize
    • Implementing Deserialize
    • Unit testing
  • Writing a data format
    • Conventions
    • Error handling
    • Implementing a Serializer
    • Implementing a Deserializer
  • Deserializer lifetimes
  • Examples
    • Structs and enums in JSON
    • Enum representations
    • Default value for a field
    • Struct flattening
    • Handwritten generic type bounds
    • Deserialize for custom map type