DictionaryTransform

public struct DictionaryTransform<Key, Value>: TransformType where Key: Hashable, Key: RawRepresentable, Key.RawValue == String, Value: Mappable

Transforms [String: AnyObject] <-> [Key: Value] where Key is RawRepresentable as String, Value is Mappable

  • Undocumented

    Declaration

    Swift

    public init()
  • Undocumented

    Declaration

    Swift

    public func transformFromJSON(_ value: Any?) -> [Key: Value]?
  • Undocumented

    Declaration

    Swift

    public func transformToJSON(_ value: [Key: Value]?) -> Any?