Protocolsoto-core 7.4.0SotoCore
CustomEncoder
Protocol for object that will encode a value
protocol CustomEncoder : CustomCoder
Browse conforming typesProtocol for object that will encode a value
protocol CustomEncoder : CustomCoder
import SotoCore
protocol CustomCoder
base protocol for encoder/decoder objects
static func encode(value: CodableValue, to encoder: Encoder) throws
encode CodableValue with supplied encoder
static func string(from: CodableValue) -> String?
return value as a String. Used by query string and header values
static func string(from: CodableValue) -> String?
protocol DateFormatCoder : CustomDecoder, CustomEncoder where Self.CodableValue == Date
Protocol for time stamp coders that use a DateFormatter. Use this to enforce the timestamp format we require, or to set the timestamp format output