Instance Property


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


var dateDecodingStrategy: JSONDecoder.DateDecodingStrategy


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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software