Instance Property

dateDecodingStrategy

The strategy used when decoding dates from part of a JSON object.

Declaration

var dateDecodingStrategy: JSONDecoder.DateDecodingStrategy

Discussion

The default strategy is the JSONDecoder.DateDecodingStrategy.deferredToDate strategy.

See Also

Decoding Dates

enum JSONDecoder.DateDecodingStrategy

The strategies available for formatting dates when decoding them from JSON.