Encodable

public extension Encodable
  • Undocumented

    Declaration

    Swift

    func encoded(using encoder: AnyEncoder = JSONEncoder()) throws -> Data
  • Undocumented

    Declaration

    Swift

    func encoded(using encoder: JSONEncoder = JSONEncoder()) throws -> [String : Any]
  • Undocumented

    Declaration

    Swift

    func encoded(using encoder: JSONEncoder = JSONEncoder()) throws -> [Any]
  • Undocumented

    Declaration

    Swift

    func encoded(using encoder: JSONEncoder = JSONEncoder()) throws -> String