func encode(to: Encoder)
Encodes this value into the given encoder.
この値を与えられたエンコーダにエンコードします。
Availability
Technology
protocol Encodable
func encode(to: Encoder)
AffineTransform
Album
Array
Element
conforms to Encodable
.
Element
がEncodable
に準拠する時に準拠します。
Artist
Artwork
AttributeScopes.FoundationAttributes.ByteCountAttribute.Component
AttributeScopes.FoundationAttributes.ByteCountAttribute.Unit
AttributeScopes.FoundationAttributes.DateFieldAttribute.Field
AttributeScopes.FoundationAttributes.MeasurementAttribute.Component
AttributeScopes.FoundationAttributes.NumberFormatAttributes.NumberPartAttribute.NumberPart
AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute.Symbol
AttributeScopes.FoundationAttributes.PersonNameComponentAttribute.Component
AttributedString
AuthorizationStatus
Bool
BuildConfiguration
BuildSettingCondition
ByteCountFormatStyle.Style
ByteCountFormatStyle.Units
CGAffineTransform
CGFloat
CGPoint
CGRect
CGSize
CGVector
CLanguageStandard
CSetting
CXXLanguageStandard
CXXSetting
Calendar
CharacterSet
ClosedRange
Bound
conforms to Encodable
.
Bound
がEncodable
に準拠する時に準拠します。
CodableConfiguration
CollectionDifference
ChangeElement
conforms to Decodable
and Encodable
.
ChangeElement
がDecodable
とEncodable
に準拠する時に準拠します。
CollectionDifference.Change
ChangeElement
conforms to Decodable
and Encodable
.
ChangeElement
がDecodable
とEncodable
に準拠する時に準拠します。
Column
WrappedElement
conforms to Encodable
.
WrappedElement
がEncodable
に準拠している時に準拠します。
ContentRating
ContiguousArray
Element
conforms to Encodable
.
Element
がEncodable
に準拠する時に準拠します。
Curator
Curator.Kind
CurrencyFormatStyleConfiguration.Presentation
CurrencyFormatStyleConfiguration.SignDisplayStrategy
Data
Date
Date.ComponentsFormatStyle
Date.ComponentsFormatStyle.Field
Date.ComponentsFormatStyle.Style
Date.FormatStyle
Date.FormatStyle.DateStyle
Date.FormatStyle.Symbol.Hour.AMPMStyle
Date.FormatStyle.Symbol.VerbatimHour.Clock
Date.FormatStyle.Symbol.VerbatimHour.HourCycle
Date.FormatStyle.TimeStyle
Date.ISO8601FormatStyle.DateSeparator
Date.ISO8601FormatStyle.DateTimeSeparator
Date.ISO8601FormatStyle.TimeSeparator
Date.ISO8601FormatStyle.TimeZoneSeparator
Date.IntervalFormatStyle
Date.RelativeFormatStyle
Date.RelativeFormatStyle.Presentation
Date.RelativeFormatStyle.UnitsStyle
DateComponents
DateInterval
Decimal.ParseStrategy
DescriptiveNumberFormatConfiguration.Presentation
Dictionary
Key
conforms to Encodable
and Value
conforms to Encodable
.
Key
がEncodable
に準拠するそしてValue
がEncodable
に準拠する時に準拠します。
DispatchQueue.SchedulerTimeType
DispatchQueue.SchedulerTimeType.Stride
Double
EditorialNotes
Errno
FamilyActivitySelection
FileDescriptor
FileDescriptor.AccessMode
FileDescriptor.SeekOrigin
FilePath
Float
Float16
FloatingPointFormatStyle
FloatingPointFormatStyle.Attributed
FloatingPointFormatStyle.Currency
FloatingPointFormatStyle.Percent
FloatingPointParseStrategy
FloatingPointRoundingRule
FormatStyleCapitalizationContext
Genre
GroupActivityMetadata
GroupActivityMetadata.Experience
HorizontalEdge
IndexPath
IndexSet
InflectionRule
InlinePresentationIntent
Int
Int16
Int32
Int64
Int8
IntegerFormatStyle
IntegerFormatStyle.Attributed
IntegerFormatStyle.Currency
IntegerFormatStyle.Percent
IntegerParseStrategy
LinkerSetting
ListFormatStyle.ListType
ListFormatStyle.Width
Locale
MLActionClassifier.VideoAugmentationOptions
MLCheckpoint
MLHandActionClassifier.VideoAugmentationOptions
MLHandPoseClassifier.ImageAugmentationOptions
MLPhase
MLProgress
MLProgress.Metric
MPMusicPlayerPlayParameters
Measurement
MeasurementFormatUnitUsage
Morphology
Morphology.CustomPronoun
Morphology.GrammaticalGender
Morphology.GrammaticalNumber
Morphology.PartOfSpeech
MusicCatalogResourceResponse
MusicItemType
conforms to Encodable
.
MusicItemType
がEncodable
に準拠している時に準拠します。
MusicCatalogSearchResponse
MusicItemCollection
MusicItemType
conforms to Encodable
.
MusicItemType
がEncodable
に準拠している時に準拠します。
MusicItemID
MusicPlayer.Queue.Entry.Item
MusicVideo
Decimal
NSDirectionalEdgeInsets
NetworkCompatibilityToken
NumberFormatStyleConfiguration.DecimalSeparatorDisplayStrategy
NumberFormatStyleConfiguration.Grouping
NumberFormatStyleConfiguration.Notation
NumberFormatStyleConfiguration.Precision
NumberFormatStyleConfiguration.SignDisplayStrategy
OSSignpostIntervalState
OperationQueue.SchedulerTimeType
OperationQueue.SchedulerTimeType.Stride
Optional
Wrapped
conforms to Encodable
.
Wrapped
がEncodable
に準拠する時に準拠します。
PKDrawing
Package
Package.Dependency
Package.Dependency.Kind
Package.Dependency.Requirement
Package.Dependency.SourceControlRequirement
PartialRangeFrom
Bound
conforms to Encodable
.
Bound
がEncodable
に準拠する時に準拠します。
PartialRangeThrough
Bound
conforms to Encodable
.
Bound
がEncodable
に準拠する時に準拠します。
PartialRangeUpTo
Bound
conforms to Encodable
.
Bound
がEncodable
に準拠する時に準拠します。
PersonNameComponents
PersonNameComponents.FormatStyle.Style
Platform
PlayParameters
Playlist
Playlist.Kind
PluginCommandIntent
PluginPermission
PresentationIntent
PresentationIntent.IntentType
PresentationIntent.Kind
PresentationIntent.TableColumn
PresentationIntent.TableColumn.Alignment
PreviewAsset
Product
Product.Library.LibraryType
ProductSetting
RadioShow
Range
範囲
Bound
conforms to Encodable
.
Bound
がEncodable
に準拠する時に準拠します。
Record
Output
conforms to Decodable
, Output
conforms to Encodable
, Failure
conforms to Decodable
, and Failure
conforms to Encodable
.
Output
がDecodable
に準拠する、Output
がEncodable
に準拠する、Failure
がDecodable
に準拠する、そしてFailure
がEncodable
に準拠する時に準拠します。
Record.Recording
Output
conforms to Decodable
, Output
conforms to Encodable
, Failure
conforms to Decodable
, Failure
conforms to Encodable
, and Failure
conforms to Error
.
Output
がDecodable
に準拠する、Output
がEncodable
に準拠する、Failure
がDecodable
に準拠する、Failure
がEncodable
に準拠する、そしてFailure
がError
に準拠する時に準拠します。
RecordLabel
Resource
Resource.Localization
RunLoop.SchedulerTimeType
RunLoop.SchedulerTimeType.Stride
Set
Element
conforms to Encodable
.
Element
がEncodable
に準拠する時に準拠します。
Song
SortDescriptor
SortOrder
Station
String
String.Comparator
String.StandardComparator
Subscribers.Completion
Failure
conforms to Encodable
.
Failure
がEncodable
に準拠する時に準拠します。
Subscribers.Demand
SupportedPlatform
SupportedPlatform.DriverKitVersion
SupportedPlatform.IOSVersion
SupportedPlatform.MacCatalystVersion
SupportedPlatform.MacOSVersion
SupportedPlatform.TVOSVersion
SupportedPlatform.WatchOSVersion
SwiftSetting
SwiftVersion
SystemPackageProvider
Target
Target.Dependency
Target.PluginCapability
Target.PluginUsage
Target.TargetType
TargetDependencyCondition
Text.DateStyle
TimeZone
TimelineEntryRelevance
Token
Track
UIEdgeInsets
UIFloatRange
UIOffset
UInt
UInt16
UInt32
UInt64
UInt8
URL
URLComponents
UTTagClass
UTType
UUID
Measurement.FormatStyle.UnitWidth
Version
VerticalEdge
typealias Codable
protocol Decodable
protocol CodingKey
struct CodingUserInfoKey