Skip to content

Make YAML parser a bit less strict for booleans and numbers #16787

@omoerbeek

Description

@omoerbeek
  • Program: Recursor, dnsdist
  • Issue type: Feature request

Short description

Allow quoted values in YAML for booleans and numbers

Usecase

Ansible produces quoted values in some cases, while our YAML parser is strict with respect to types: "true" or "123" is not accepted where a boolean or number is expected, respectively.

Description

Accept quoted values for booleans and numbers.

I looked briefly into serde_yaml, but found no easy way to do this. It might be needed to modify serde_yaml....

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions