Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Extended EnumerationFoundationEssentials

JSONEncoder.DateEncodingStrategy

extension JSONEncoder.DateEncodingStrategy

Topics

Type Properties

  • static var integerSecondsSince1970: `Self`
    RFC 7519 Encoder that handles doubles outside the range of representable Int values by throwing an EncodingError rather than narrowing them to prevent an error when decoding the value back to a Date