ElementToJsonStrategy

public enum ElementToJsonStrategy

Undocumented

  • convert element to a JSON property

    Declaration

    Swift

    case property
  • convert element to AnyObject

    Declaration

    Swift

    case anyObject
  • convert element to another XMLModel type.

    Declaration

    Swift

    case object(XMLModel.Type)
  • convert element to an arry of XMLModel

    Declaration

    Swift

    case array(XMLModel.Type)
  • Undocumented

    Declaration

    Swift

    case arrayItem(XMLModel.Type)
  • Ignore element entirely

    Declaration

    Swift

    case ignored
  • flatten element children up one level

    Declaration

    Swift

    case flatten