Skip to content

json decoding should fail with a more descriptive error #4244

Closed
@erickt

Description

@erickt

Right now decoding will do a fail ~"not a list" if it tries to deserialize the wrong type. We should give some hints as to the type of the value it found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions