Encodable

protocol Encodable
  • Returns the comma-separated string representing this object.

    Declaration

    Swift

    public func rsd_delimiterEncodedString(with codingKeys: [CodingKey], delimiter: String) throws -> String

    Parameters

    codingKeys

    The codingKeys to use as mask for the comma-delimited list.

  • Returns JSON-encoded data created by encoding this object using a JSON encoder created by the shared RSDFactory singleton.

    Declaration

    Swift

    public func rsd_jsonEncodedData() throws -> Data
  • Returns a JSON-encoded dictionary created by encoding this object using a JSON encoder created by the shared RSDFactory singleton.

    Declaration

    Swift

    public func rsd_jsonEncodedDictionary() throws -> [String : Any]