Dictionary

extension Dictionary: HADecodeTransformable where Key == String, Value: HADecodeTransformable

Available where Key == String, Value: HADecodeTransformable

  • Transforms a dictionary whose values are transformable items

    Throws

    If the underlying decode throws

    Declaration

    Swift

    public static func decode(unknown value: Any) throws -> `Self`?

    Parameters

    value

    The dictionary with values to be transformed

    Return Value

    The dictionary of values converted, compacted to remove any failures