Enumeration
JSONDecoder.DataDecodingStrategy
iOS 8.0+
iPadOS 8.0+
Mac Catalyst 8.0+
macOS 10.10+
tvOS 9.0+
watchOS 2.0+
The strategies for decoding raw data.
enum DataDecodingStrategy
Topics
Enumeration Cases
case base64Decode theDatafrom a Base64-encoded string. This is the default strategy.case custom((any Decoder) throws -> Data)Decode theDataas a custom value decoded by the given closure.case deferredToDataDefer toDatafor decoding.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype