Skip to content

Unable to deserialise a single string #125

@Firstyear

Description

@Firstyear

https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1 specifies that the client_id may be urlencoded such as my%2Did.

However, trying to use this library, this can not parse due to the error:

"invalid type: map, expected a string"

let r: Result<String, _> = serde_urlencoded::from_str("my%2Did");

I expected that this would work, but I suspect that a map type is forced?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions