Skip to content

Getting Error : Ambiguous reference to member 'value(for:inContext:)' #117

@v2Nitesh

Description

@v2Nitesh

Hi,

I have just started exploring the Marshal and tried to build some Demo, using carthage.

But getting error : Ambiguous reference to member 'value(for:inContext:)'

Line of code in my project :

let obj = personsJSON()
let context = DeserializationContext()
let people: [Person] = try! obj.value(for: "people", inContext: context) // Getting error on this line

Can you please check and let me know whats the issue.

Thank you
Nitesh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions