SmartEncodingOption
public enum SmartEncodingOption : Hashable
Undocumented
-
date的默认策略是ReferenceDate(参考日期是指2001年1月1日 00:00:00 UTC),以秒为单位。
Declaration
Swift
case date(JSONEncoder.DateEncodingStrategy)
-
Undocumented
Declaration
Swift
case data(JSONEncoder.SmartDataEncodingStrategy)
-
Undocumented
Declaration
Swift
case float(JSONEncoder.NonConformingFloatEncodingStrategy)
-
Undocumented
Declaration
Swift
case key(JSONEncoder.SmartKeyEncodingStrategy)
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Declaration
Swift
public static func == (lhs: SmartEncodingOption, rhs: SmartEncodingOption) -> Bool