Enumeration Caseswift 6.0.3FoundationEssentials
deferredToData
Defer to Data
for decoding.
- iOS
- 8.0+
- macOS
- 10.10+
- tvOS
- 9.0+
- watchOS
- 2.0+
case deferredToData
Defer to Data
for decoding.
case deferredToData
s20FoundationEssentials11JSONDecoderC20DataDecodingStrategyO010deferredToD0yA2EmF
What are these?3FUMX
import FoundationEssentials
enum DataDecodingStrategy
The strategy to use for decoding Data
values.
class JSONDecoder
JSONDecoder
facilitates the decoding of JSON into semantic Decodable
types.
case base64
Decode the Data
from a Base64-encoded string. This is the default strategy.
@preconcurrency case custom((any Decoder) throws -> Data)
Decode the Data
as a custom value decoded by the given closure.