Skip to content

Figuring out if a string will round-trip #1276

@gyorokpeter

Description

@gyorokpeter

E.g. if I render a string with the value true or 1.1, when parsed back they become a boolean and a number respectively.
Is there a way to determine if a certain string doesn't round trip and therefore needs quotes added when emitting it?

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