SmartDecodable

public protocol SmartDecodable : Decodable

Undocumented

  • didFinishMapping() Default implementation

    The callback for when mapping is complete

    Default Implementation

    Declaration

    Swift

    mutating func didFinishMapping()
  • mappingForKey() Default implementation

    The mapping relationship of decoding keys, the first mapping relationship that is not null is preferred

    Default Implementation

    Declaration

    Swift

    static func mappingForKey() -> [SmartKeyTransformer]?
  • mappingForValue() Default implementation

    The strategy for decoding values

    Default Implementation

    Declaration

    Swift

    static func mappingForValue() -> [SmartValueTransformer]?
  • Undocumented

    Declaration

    Swift

    init()

SmartCodable

Available where Self: SmartEncodable

  • Merge any info a model

    Declaration

    Swift

    public mutating func mergeAny(from object: Any?, designatedPath: String? = nil)