XMLModel

public protocol XMLModel

Protocol that ensures all XML models have a method that returns metadata necessary to convert an XML payload to a JSON payload.

Required Methods

  • Undocumented

    Declaration

    Swift

    static func xmlMap() -> XMLMap
  • asXmlString(encoding:) Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    func asXmlString(encoding: String.Encoding) throws -> String