Encodable A type that can encode itself to an external representation. Declarationprotocol Encodable TopicsInstance Methodsencode(to:) RelationshipsInherited BySIMDConforming TypesArrayBoolClosedRangeCollectionDifferenceCollectionDifference.ChangeContiguousArrayContinuousClock.InstantDictionaryDoubleDurationDuration.TimeFormatStyleDuration.TimeFormatStyle.AttributedDuration.TimeFormatStyle.PatternDuration.UnitsFormatStyleDuration.UnitsFormatStyle.AttributedDuration.UnitsFormatStyle.FractionalPartDisplayStrategyDuration.UnitsFormatStyle.UnitDuration.UnitsFormatStyle.UnitWidthDuration.UnitsFormatStyle.ZeroValueUnitsDisplayStrategyFloatFloat16IntInt128Int16Int32Int64Int8LocalTestingActorIDNeverObservationRegistrarOptionalPartialRangeFromPartialRangeThroughPartialRangeUpToRangeSIMD16SIMD2SIMD3SIMD32SIMD4SIMD64SIMD8SIMDMaskSetStringString.ComparatorString.LocalizationValueString.LocalizationValue.PlaceholderString.StandardComparatorSuspendingClock.InstantTaskPriorityUIntUInt128UInt16UInt32UInt64UInt8 See AlsoCustom Encoding and DecodingEncoding and Decoding Custom TypesCodableDecodableCodingKeyCodingKeyRepresentableCodingUserInfoKey