VMapKey

public protocol VMapKey : RawRepresentable

VMapKey will be an bridge to write XML to Dictionary

  • key

    Key will be XML element name

    Note

    We have to provide all keys which we need to parse in XML Parsing

    Eg:

    adBreak key is vmap:AdBreak

    Declaration

    Swift

    var key: String { get }
  • ExposedKey will be rawValue of CodingKeys in our structue

    Note

    structue should contain adBreak and ad with this rawValue only ad_break and ad

    Declaration

    Swift

    var exposedKey: String { get }