Protocol
DecodableWithConfiguration
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
A protocol for types that support decoding when supplied with an additional configuration type.
protocol DecodableWithConfiguration
Topics
Associated Types
associatedtype DecodingConfigurationThe configuration type that assists in decoding.
Initializers
init(from: any Decoder, configuration: Self.DecodingConfiguration) throwsCreates a new instance by retrieving the instance’s data from the specified decoder with help from the provided configuration.