Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

How to convert AnyCodable to Hashable #45

@glve1027

Description

@glve1027

currently i have some data. This data is [String: AnyCodable], i just want to get this data's hashvalue. Because the value in this data is dynamic. It can be Number/String/Dictionary/Array/Other Object. How should I do??

//???
extension AnyCodable: Hashable {
    
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions