CustomCoding

@propertyWrapper
public struct CustomCoding<Coder> where Coder : CustomCoder
extension CustomCoding: JMESPropertyWrapper
extension CustomCoding: Decodable where Coder: CustomDecoder
extension CustomCoding: Encodable where Coder: CustomEncoder

Property wrapper that applies a custom encoder and decoder to its wrapped value

Available where Coder: CustomDecoder

  • Declaration

    Swift

    public init(from decoder: Decoder) throws

Available where Coder: CustomEncoder

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws