QueryEncoder

public struct QueryEncoder

The wrapper struct for encoding Codable classes to Query dictionary

  • Contextual user-provided information for use during encoding.

    Declaration

    Swift

    public var userInfo: [CodingUserInfoKey : Any]
  • ec2

    Are we encoding for EC2

    Declaration

    Swift

    public var ec2: Bool
  • additional keys to include

    Declaration

    Swift

    public var additionalKeys: [String : String]
  • Declaration

    Swift

    public init()
  • Declaration

    Swift

    public func encode<T>(_ value: T, name: String? = nil) throws -> String? where T : Encodable