StaticMappable

public protocol StaticMappable: BaseMappable

Undocumented

  • This is function that can be used to: 1) provide an existing cached object to be used for mapping 2) return an object of another class (which conforms to BaseMappable) to be used for mapping. For instance, you may inspect the JSON to infer the type of object that should be used for any given mapping

    Declaration

    Swift

    static func objectForMapping(map: Map) -> BaseMappable?