VMapKey
public protocol VMapKey : RawRepresentable
VMapKey will be an bridge to write XML to Dictionary
-
Key will be XML element name
Note
We have to provide all keys which we need to parse in XML ParsingEg:
adBreakkey isvmap:AdBreakDeclaration
Swift
var key: String { get } -
ExposedKey will be rawValue of CodingKeys in our structue
Note
structue should contain adBreak and ad with this rawValue onlyad_breakandadDeclaration
Swift
var exposedKey: String { get }