Skip to content

Literal dollar sign in JSON string #264

@reinacchi

Description

@reinacchi

I'm trying to include a literal string like { "pass": "$argon2id..." } in the body request, but the program throws an error saying "Variable not defined: argon2id." However, the dollar sign is not intended to reference a variable. It's just part of the string.

Expected behaviour

The string should be interpreted literally, and $argonid... should not be parsed as a variable.

Question

Is there a way to escape the dollar sign or configure the parser to treat the string as-is?

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